cluster_id blocks on wait_for_cluster (#890)

This commit is contained in:
Daniel Piddock
2020-05-29 17:45:24 +02:00
committed by GitHub
parent 444343553c
commit c748899d0e

View File

@@ -1,6 +1,9 @@
output "cluster_id" {
description = "The name/id of the EKS cluster."
value = element(concat(aws_eks_cluster.this.*.id, list("")), 0)
# So that calling plans wait for the cluster to be available before attempting
# to use it. They will not need to duplicate this null_resource
depends_on = [null_resource.wait_for_cluster]
}
output "cluster_arn" {