Skip to content

Commit

Permalink
fix: only create synthetics if they request it (#3629)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeyheath authored Oct 24, 2024
1 parent 557e39f commit 6b55106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/modules/happy-stack-eks/synthetics.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ locals {
# and no synthetics to the internal URLs created for the services.
additional_hosts_synthetics = merge([for k, v in local.service_definitions :
{ for domain in var.additional_hostnames : v.service_name => "https://${domain}${v.health_check_path}" }
if v.synthetics && (v.service_type == "EXTERNAL" || v.service_type == "INTERNAL")
]...)


Expand Down

0 comments on commit 6b55106

Please sign in to comment.