Skip to content

Commit

Permalink
use eks module not an attribute of it for depends_on value
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoucgitter committed Oct 16, 2024
1 parent 86b321b commit 1e70846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ module "kubeconfig" {
ca_crt = local.kubeconfig_ca_cert
sg_id = local.cluster_security_group_id

depends_on = [module.eks.cluster_name] # The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready.
depends_on = [module.eks] # Will block on EKS cluster creation until the cluster is really ready.
}

# Normally, the use of local-exec below is avoided. It is used here to patch the gp2 storage class as the default storage class for EKS 1.30 and later clusters.
Expand Down

0 comments on commit 1e70846

Please sign in to comment.