Skip to content

Commit

Permalink
Merge pull request #11 from hazelops/feature/no-splat-if-empty
Browse files Browse the repository at this point in the history
Ensure we don't access empty efs mount via splat expression
  • Loading branch information
AutomationD authored Feb 22, 2022
2 parents 06d199a + 0951963 commit 79bcfef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ output "alb_arn" {
}

output "efs" {
value = module.efs.mount_target_dns_names[*]
value = var.efs_enabled ? module.efs.mount_target_dns_names[*] : ""
}

output "eips" {
Expand Down

0 comments on commit 79bcfef

Please sign in to comment.