Skip to content

Commit b99c7b4

Browse files
authored
fix: Fixed deprecated call to map() in deploy submodule (#171)
1 parent 62ebcd4 commit b99c7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/deploy/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ locals {
2525
Hooks = [for k, v in zipmap(["BeforeAllowTraffic", "AfterAllowTraffic"], [
2626
var.before_allow_traffic_hook_arn != "" ? var.before_allow_traffic_hook_arn : null,
2727
var.after_allow_traffic_hook_arn != "" ? var.after_allow_traffic_hook_arn : null
28-
]) : map(k, v) if v != null]
28+
]) : tomap({ (k) = v }) if v != null]
2929
} : {})
3030

3131
appspec_content = replace(jsonencode(local.appspec), "\"", "\\\"")

0 commit comments

Comments
 (0)