File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ No modules.
244244
245245| Name | Description |
246246| ------| -------------|
247+ | <a name =" output_name " ></a > [ name] ( #output\_ name ) | Cluster name. |
247248| <a name =" output_id " ></a > [ id] ( #output\_ id ) | Cluster name (resource ID). |
248249| <a name =" output_arn " ></a > [ arn] ( #output\_ arn ) | Cluster ARN. |
249250| <a name =" output_endpoint " ></a > [ endpoint] ( #output\_ endpoint ) | Cluster API server endpoint. |
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ output "resource_name" {
1414
1515output "cluster_name" {
1616 description = " EKS cluster name (for test validation)"
17- value = module. eks_cluster . id
17+ value = module. eks_cluster . name
1818}
1919
2020output "cluster_arn" {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
77 github.com/aws/aws-sdk-go-v2/service/eks v1.49.3
88 github.com/gruntwork-io/terratest v0.46.8
99 github.com/launchbynttdata/lcaf-component-terratest v1.0.4
10- github.com/stretchr/testify v1.8.4
10+ github.com/stretchr/testify v1.11.1
1111)
1212
1313require (
Original file line number Diff line number Diff line change @@ -526,8 +526,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
526526github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
527527github.com/stretchr/testify v1.8.0 /go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU =
528528github.com/stretchr/testify v1.8.1 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
529- github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
530- github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
529+ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U =
530+ github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
531531github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ =
532532github.com/tmccombs/hcl2json v0.3.3 /go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w =
533533github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8 =
Original file line number Diff line number Diff line change 33# Outputs
44# ###########################
55
6+ output "name" {
7+ description = " Cluster name."
8+ value = aws_eks_cluster. this . name
9+ }
10+
611output "id" {
712 description = " Cluster name (resource ID)."
813 value = aws_eks_cluster. this . id
You can’t perform that action at this time.
0 commit comments