From 5c9b28ca2b6d61e5327ea9ea11b9aa11b27a217d Mon Sep 17 00:00:00 2001 From: Abdul Wahid Date: Wed, 25 Jan 2023 19:34:16 +0000 Subject: [PATCH] Remove oversize_handling from body until 4.52 release https://github.com/hashicorp/terraform-provider-aws/pull/29082 --- main.tf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 9db6ce8..d1acc93 100644 --- a/main.tf +++ b/main.tf @@ -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")]