We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6d248 commit 9ee4d00Copy full SHA for 9ee4d00
modules/deploy/main.tf
@@ -25,7 +25,7 @@ locals {
25
Hooks = [for k, v in zipmap(["BeforeAllowTraffic", "AfterAllowTraffic"], [
26
var.before_allow_traffic_hook_arn != "" ? var.before_allow_traffic_hook_arn : null,
27
var.after_allow_traffic_hook_arn != "" ? var.after_allow_traffic_hook_arn : null
28
- ]) : map(k, v)]
+ ]) : map(k, v) if v != null]
29
} : {})
30
31
appspec_content = replace(jsonencode(local.appspec), "\"", "\\\"")
0 commit comments