From debdd51acd47fbecbe039c2f321aa9acf2be7a0f Mon Sep 17 00:00:00 2001 From: Mohammed Janibasha Date: Tue, 2 Jul 2024 11:52:07 +0530 Subject: [PATCH] Update data.tf --- aws/eks-cluster/ce-deployment/data.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/eks-cluster/ce-deployment/data.tf b/aws/eks-cluster/ce-deployment/data.tf index 6cf8a1320..2475b93f1 100644 --- a/aws/eks-cluster/ce-deployment/data.tf +++ b/aws/eks-cluster/ce-deployment/data.tf @@ -1,6 +1,6 @@ data "tfe_outputs" "infra" { organization = var.tf_cloud_organization - workspace = "infra" + workspace = "${coalesce(var.aws_waf_ce, "infra")}" } data "tfe_outputs" "eks" { organization = var.tf_cloud_organization @@ -9,4 +9,4 @@ data "tfe_outputs" "eks" { data "aws_eks_cluster_auth" "auth" { name = data.tfe_outputs.eks.values.cluster_name -} \ No newline at end of file +}