Skip to content

Commit

Permalink
Ensure we don't access empty efs mount via splat expression
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Feb 22, 2022
1 parent 06d199a commit 0951963
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 0951963

Please sign in to comment.