Skip to content

Commit d33cffd

Browse files
committed
custom_key: always yields an empty list if missing
1 parent 3e27d99 commit d33cffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8098,7 +8098,7 @@ resource "aws_wafv2_web_acl" "this" {
80988098
}
80998099
}
81008100
dynamic "custom_key" {
8101-
for_each = lookup(rate_based_statement.value, "custom_key", null) == null ? [] : lookup(rate_based_statement.value, "custom_key")
8101+
for_each = lookup(rate_based_statement.value, "custom_key", [])
81028102
iterator = custom_key
81038103

81048104
content {

0 commit comments

Comments
 (0)