Skip to content

Commit 6518c1f

Browse files
authored
Merge pull request #28 from sourcefuse/chore/add-condition-for-empty-health-check-fqdns
add condition for empty health check fqdns
2 parents 50141fd + d7fc00e commit 6518c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.2
1+
1.3.3

locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ locals {
2525
},
2626
{
2727
name = "/${var.namespace}/${var.environment}/alb/${module.alb.alb_name}/health_check_fqdn"
28-
value = join(", ",module.health_check.route_53_fqdn)
28+
value = length(module.health_check.route_53_fqdn) > 0 ? join(", ", module.health_check.route_53_fqdn) : "No health check FQDN"
2929
description = "ALB Health Check FQDN."
3030
type = "String"
3131
},

0 commit comments

Comments
 (0)