[Bug]: Potential bug with rule_json
usage with deeply nested rules
#40688
Labels
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
service/wafv2
Issues and PRs that pertain to the wafv2 service.
Terraform Core Version
1.7.3
AWS Provider Version
5.8.2
Affected Resource(s)
aws_wafv2_web_acl
Expected Behavior
AWS documentation for webacl_v2 resource suggests using
rule_json
for complex nested statementsActual Behavior
Provider seems to fail with nested scope down statements that are valid in the AWS console. The use case involves complex rules with deep nesting (more than 3 levels), particularly with ManagedRuleGroups that have ScopeDownStatements, NotStatements, and multiple AndStatements/OrStatements.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform plan
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: