-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: aws_wafv2_web_acl
description/tag changes result in inconsistent final plan
#27479
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Same issue, I believe: #23936 this has been an active bug for months, but the bots auto-closed the issue. |
I can reproduce this bug as well. |
workaround: when updating tags, update rule name to force rule recreation. seems to circumvent the bug. |
aws_wafv2_web_acl
configurations
#27273
This issue is still happening in version 4.39.0. Can we get an update please? |
NOTE: I cannot reproduce this error using Terraform v1.5+/AWS provider v5.7+ after trying various configurations. Retry using a minimum of Terraform v1.4.2/AWS provider v4.67.0 but preferably Terraform v1.5.3+/AWS provider v5.8.0+ and let us know if this is still a problem! If we don't hear back and can't reproduce, we plan to close this on or around July 20, 2023. The evidence suggests this is OBE (ie, fixed in the interim). |
Hi all 👋 As was mentioned above, this issue appears to be fixed when using a minimum Terraform version of 1.4.2 and a minimum AWS Provider version of 4.67.0 (preferably Terraform 1.5.3 or later and AWS Provider 5.8.0 or later). If you experience additional unexpected behaviors with versions that meet these parameters, please open a new issue so that we can investigate further. |
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. |
Related:
aws_wafv2_web_acl
#27175aws_wafv2_web_acl
configurations #27273aws_wafv2_web_acl
description/tag changes result in inconsistent final plan #27479Terraform Core Version
1.3.3
AWS Provider Version
4.36.1
Affected Resource(s)
Expected Behavior
It's possible to update tags and description of
aws_wafv2_web_acl
resources.After importing pre-existing rules (thanks to recently added support for
rate_based_statements
), we're met withProvider produced inconsistent final plan
when just changing description and tags on the resource.I don't believe
rate_based_statement
support is the culprit but I didn't investigate additional problems in depth.Actual Behavior
Any applies modifying the tags or description of an
aws_wafv2_web_acl
resource result inProvider produced inconsistent final plan
.Modifying rules doesn't result in any errors.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
We discovered this issue after importing rules (thanks to recently added rate_based_statement support) while changing the description, but after further testing the only consistent reason for failure were changes to the
description
field or new/changed tags.References
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: