diff --git a/main.tf b/main.tf index 8ab5f35d..5bea3e43 100644 --- a/main.tf +++ b/main.tf @@ -366,10 +366,12 @@ provider "argocd" { } data "aws_eks_cluster" "local" { + depends_on = [ module.cluster.kubernetes_host ] name = var.label } data "aws_eks_cluster_auth" "local" { + depends_on = [ module.cluster.kubernetes_host ] name = var.label }