Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_name"></a> [name](#output\_name) | Cluster name. |
| <a name="output_id"></a> [id](#output\_id) | Cluster name (resource ID). |
| <a name="output_arn"></a> [arn](#output\_arn) | Cluster ARN. |
| <a name="output_endpoint"></a> [endpoint](#output\_endpoint) | Cluster API server endpoint. |
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ output "resource_name" {

output "cluster_name" {
description = "EKS cluster name (for test validation)"
value = module.eks_cluster.id
value = module.eks_cluster.name
}

output "cluster_arn" {
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# Outputs
############################

output "name" {
description = "Cluster name."
value = aws_eks_cluster.this.name
}

output "id" {
description = "Cluster name (resource ID)."
value = aws_eks_cluster.this.id
Expand Down
Loading