Skip to content

Commit

Permalink
Remove oversize_handling from body until 4.52 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohid25 committed Jan 25, 2023
1 parent e617afd commit 5c9b28c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1094,9 +1094,7 @@ resource "aws_wafv2_web_acl" "main" {
}
dynamic "body" {
for_each = length(lookup(field_to_match.value, "body", {})) == 0 ? [] : [lookup(field_to_match.value, "body")]
content {
oversize_handling = upper(lookup(body.value, "oversize_handling"))
}
content {}
}
dynamic "method" {
for_each = length(lookup(field_to_match.value, "method", {})) == 0 ? [] : [lookup(field_to_match.value, "method")]
Expand Down

0 comments on commit 5c9b28c

Please sign in to comment.