From 3a53d0314ac848adc602bcc66b1361e3dbe6aefb Mon Sep 17 00:00:00 2001 From: Ugurcan Caykara <41244327+ugurcancaykara@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:21:02 +0300 Subject: [PATCH] add create condition to sso parameters --- aws-eks-addons/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aws-eks-addons/main.tf b/aws-eks-addons/main.tf index b214c3e..a59d244 100644 --- a/aws-eks-addons/main.tf +++ b/aws-eks-addons/main.tf @@ -194,11 +194,13 @@ resource "kubernetes_ingress_v1" "alb_ingress_connect_istio" { data "aws_ssm_parameter" "sso_ca_data_network_account" { provider = aws.network_infra + count = var.enable_sso ? 1 : 0 name = "${var.sso_ca_data_network_account}" } data "aws_ssm_parameter" "sso_url_network_account" { provider = aws.network_infra + count = var.enable_sso ? 1 : 0 name = "${var.sso_url_network_account}" }