[Bug]: WAFv2 ATP Response Inspection invalid parameters #31106
Labels
bug
Addresses a defect in current functionality.
service/wafv2
Issues and PRs that pertain to the wafv2 service.
Milestone
Terraform Core Version
1.2.8
AWS Provider Version
4.64.0
Affected Resource(s)
aws_wafv2_web_acl
Expected Behavior
Resource creates successfully with all four types of
response_inspection
ATP parameters (body_contains
,header
,json
,status_code
)Actual Behavior
Plan fails for three out of four
response_inspection
ATP parameters (body_contains
,header
,json
).For
body_contains
response inspection, the parametersuccess_strings
is not recognised. Insteadsucceed_strings
is expected:For
header
response inspection, the parametersuccess_values
is not recognised. Insteadsucceed_values
is expected:For
json
response inspection, the parametersuccess_values
is not recognised. Insteadsucceed_values
is expected:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
atp_json.txt
atp_body_contains.txt
atp_header.txt
Steps to Reproduce
Apply the attached Terraform Configuration Files.
Debug Output
No response
Panic Output
No response
Important Factoids
Response Inspection was added in v4.63.0 in this issue #30492.
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: