-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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]: Error "Provider produced inconsistent final plan" when adding a default tag to a aws_wafv2_web_acl
#27175
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I ran into the same issue with |
As a worksround run this script before
|
This is still an issue with |
i am having the same issue with UPDATE: renamed the ACL to recreate the ACL and it solved the issue :) |
I tried this, however if you have the waf associated with other resources (cloudfront, api gateway, etc.) the terraform recreation will fail. Manually disassociating the resources from the waf web acl in the aws console and then applying the name change to recreate the waf will fix it. |
Upgrading terraform to 1.4.x fixed this for me |
I can confirm I run this via terraform 1.5.x and it got fixed. Closing the ticket. |
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.1,1.3.2
AWS Provider Version
4.33.0,4.34.0
Affected Resource(s)
Expected Behavior
Apply worked correctly and added the AWS tag.
Actual Behavior
The
apply
command returned an error "Provider produced an inconsistent final plan" and panicked.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
output_failed_plan.txt
It's an ANSI file (console colored output). To visualize it I use the ANSI extension in VSCode and by changing the file extension to
.ans
you can preview it.Important Factoids
No response
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: