mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-30 14:11:58 +02:00
docs: Better documentation of cluster_id output blocking (#955)
NOTES: Starting in v12.1.0 the `cluster_id` output depends on the `wait_for_cluster` null resource. This means that initialisation of the kubernetes provider will be blocked until the cluster is really ready, if the module is set to manage the aws_auth ConfigMap and user followed the typical Usage Example. kubernetes resources in the same plan do not need to depend on anything explicitly.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
output "cluster_id" {
|
||||
description = "The name/id of the EKS cluster."
|
||||
description = "The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user