diff --git a/outputs.tf b/outputs.tf index 8ec702f..ae91414 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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" {