Skip to content

Commit 964a93b

Browse files
authored
fix: custom_key always yields an empty list
2 parents 3e27d99 + d33cffd commit 964a93b

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)