mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-17 06:19:38 +02:00
cluster_id blocks on wait_for_cluster (#890)
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
output "cluster_id" {
|
output "cluster_id" {
|
||||||
description = "The name/id of the EKS cluster."
|
description = "The name/id of the EKS cluster."
|
||||||
value = element(concat(aws_eks_cluster.this.*.id, list("")), 0)
|
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" {
|
output "cluster_arn" {
|
||||||
|
|||||||
Reference in New Issue
Block a user