From 97af5bb2e67ca250a237286a0c4fc9fc9fb9c300 Mon Sep 17 00:00:00 2001 From: NathanOkolita Date: Thu, 31 Oct 2024 08:06:14 -0400 Subject: [PATCH] [dop-2361] Add dependency on cluster. --- main.tf | 2 ++ 1 file changed, 2 insertions(+) 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 }