-
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
aws_wafv2_web_acl apply fails when default action changes #23423
Comments
I'm seeing this same error when trying to add tags. Version: registry.terraform.io/hashicorp/aws 4.8.0 Plan:
|
This is happening to me on the latest AWS provider version 4.33.0 with the latest Terraform 1.3.1. |
aws_wafv2_web_acl
configurations
#27273
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. |
Community Note
Related:
aws_wafv2_web_acl
#27175aws_wafv2_web_acl
configurations #27273aws_wafv2_web_acl
description/tag changes result in inconsistent final plan #27479Terraform CLI and Terraform AWS Provider Version
Terraform Cloud runtime v1.1.6
Providers:
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
https://gist.github.com/jaypeng2015/0577c4ee07bf314888914e5de75fd1fc
Expected Behavior
The default action changed from allow to block.
Actual Behavior
Apply errored.
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
It only errors when configuration changes, if deploying from scratch, no matter the default action is true of false, it will success.
References
The text was updated successfully, but these errors were encountered: