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 +}