mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
Remove unnecessary flatten from cluster_endpoint output
Co-Authored-By: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ output "cluster_certificate_authority_data" {
|
||||
|
||||
output "cluster_endpoint" {
|
||||
description = "The endpoint for your EKS Kubernetes API."
|
||||
value = element(concat(flatten(aws_eks_cluster.this[0].endpoint), list("")), 0)
|
||||
value = element(concat(aws_eks_cluster.this[*].endpoint, list("")), 0)
|
||||
}
|
||||
|
||||
output "cluster_version" {
|
||||
|
||||
Reference in New Issue
Block a user