-
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
[WAFv2] resource/wafv2_rule_group: recreated on any changes to the rules #14071
Comments
We just ran into this today as well. It does seem overly destructive to delete the resource, in this case, to update the rules. |
I am also seeing the same behavior with aws_wafv2_web_acl. |
Ran into this recently and look for a resolution - in this case, any removal of a rule from the Happy to put in the steps to reproduce, it's the same scenario as per above, directly targeting the |
A fix has been merged and will release with |
This has been released in version 3.2.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 for triage. Thanks! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates #13936
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
I expected the resource
aws_wafv2_rule_group
to just be updated and not recreated when I changed the priority of a rule for example.Actual Behavior
When making any changes to the rules, the resource
aws_wafv2_rule_group
is recreated.Steps to Reproduce
Just change the rule priority
The text was updated successfully, but these errors were encountered: