Skip to content

Commit

Permalink
add create condition to sso parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ugurcancaykara authored Oct 30, 2023
1 parent aa08511 commit 3a53d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws-eks-addons/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand Down

0 comments on commit 3a53d03

Please sign in to comment.