-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Modifying aws_wafv2_web_acl removes DDoS auto mitigation #31670
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Updating WAF should not remove the ShieldMitigationGroup rule. Existing WAF rules need to be read and mitigation group rule merged into update. |
i too am struggling with the very same issue. i got this using terraform version |
This functionality has been released in v5.15.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
v1.2.5
AWS Provider Version
4.56.0
Affected Resource(s)
aws_wafv2_web_acl
Expected Behavior
When I modify a rule from
aws_wafv2_web_acl
usingterraform apply
, it should not remove the ShieldMitigationRuleGroupActual Behavior
When I modify a rule from
aws_wafv2_web_acl
usingterraform apply
, it does not indicate that it will remove the ShieldMitigationRuleGroup as before (#22869), but at the end it does it! :(So I consider that this is not fixed yet...
I suspect that it is because it tries to re-order, rules in someway
Example of terraform apply output that has removed
ShieldMitigationRuleGroup
without indicating it:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
aws_wafv2_web_acl
resource using TerraformShieldMitigationRuleGroup
ruleaws_wafv2_web_acl
resourceterraform apply
(it will not say that it will remove the Shield rule)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: