Skip to content

Commit

Permalink
Merge pull request #29 from uc-cdis/fix/waf-output
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadqur authored Nov 5, 2024
2 parents 819db66 + 2ae3e10 commit c5e1b3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tf_files/aws/commons/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ output "cluster_oidc_provider_arn" {
}

output "opensearch_cluster_arn" {
value = module.commons_vpc_es[0].es_arn
value = var.deploy_es ? module.commons_vpc_es[0].es_arn : null
}

##
Expand Down Expand Up @@ -112,7 +112,7 @@ output "aurora_cluster_master_password" {
}

output "es_endpoint" {
value = module.commons_vpc_es[0].es_endpoint
value = var.deploy_es ? module.commons_vpc_es[0].es_endpoint : null
}

##
Expand All @@ -121,5 +121,5 @@ output "es_endpoint" {

output "waf_arn" {
description = "WAF arn - annotate the cluster ingress"
value = module.aws_waf[0].waf_arn
}
value = var.deploy_waf ? module.aws_waf[0].waf_arn : null
}

0 comments on commit c5e1b3a

Please sign in to comment.