-
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 Error: Provider produced inconsistent final plan #30858
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I had a very similar issue with managed_rule_group_statements earlier this week. the workaround that i figured out was to define something in the empty blocks that have properties in them. We also programmatically generate our terraform as json but you should get the gist from below
|
This is most likely a duplicate of #23992, which has some helpful information |
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). |
A similar error with Terraform v1.3.3 and AWS provider 5.8, fix is to upgrade Terraform to 1.5.3. |
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. |
Hi All, we have updated the AWS provider version to 4.67.0 and 5.8.0 and 5.11.0. But we still see the below error. "single_query_argument":cty.List(cty.Object(map[string]cty.Type{"name":cty.String})), "uri_path":cty.List(cty.EmptyObject)})), "text_transformation":cty.Set(cty.Object(map[string]cty.Type{"priority":cty.Number, "type":cty.String}))}))})}), "visibility_config":cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"cloudwatch_metrics_enabled":cty.True, "metric_name":cty.StringVal("AWSManagedRulesSQLiRuleSet"), "sampled_requests_enabled":cty.True})})}) does not correlate with any element in actual. This is a bug in the provider, which should be reported in the provider's own issue tracker. |
Hey, just wanted to know which terraform version you are using. |
Hi Team,
We tried with 4.67.0 and 4.28.0 as well but still no luck.
Thanks,
Ananth.
From: bq-poonam-28 ***@***.***>
Sent: Monday, August 14, 2023 7:11 AM
To: hashicorp/terraform-provider-aws ***@***.***>
Cc: Manney, Ananth (ext) ***@***.***>; Comment ***@***.***>
Subject: Re: [hashicorp/terraform-provider-aws] [Bug]: aws_wafv2_web_acl Error: Provider produced inconsistent final plan (Issue #30858)
Hey, I just wanted to know which terraform version you are using? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. Message ID: <hashicorp/terraform-provider-aws/issues/30858/1677127260@ github. com>
Hey, I just wanted to know which terraform version you are using?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/hashicorp/terraform-provider-aws/issues/30858*issuecomment-1677127260__;Iw!!KDurfCY!95O8OklExd55kVW3ArcRJaPSO941u86oS9e_1DC0J8hy5k7zzwTdbi1FdQG1eU5xnYxV_sinOkMOmJ6FAyjuNq79uKc$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ3W2GRTV7FLSX25RTRTPILXVIBT7ANCNFSM6AAAAAAXGVX3OY__;!!KDurfCY!95O8OklExd55kVW3ArcRJaPSO941u86oS9e_1DC0J8hy5k7zzwTdbi1FdQG1eU5xnYxV_sinOkMOmJ6FAyjuOQB_2MY$>.
You are receiving this because you commented.Message ID: ***@***.***>
The content of this email and of any files transmitted may contain confidential, proprietary or legally privileged information and is intended solely for the use of the person/s or entity/ies to whom it is addressed. If you have received this email in error you have no permission whatsoever to use, copy, disclose or forward all or any of its contents. Please immediately notify the sender and thereafter delete this email and any attachments.
|
Hi Team,
We tried with AWS provider version 4.67.0 and 4.28.0 and terraform version used is 1.3.9 but still no luck.
Thanks,
Ananth.
From: Manney, Ananth (ext)
Sent: Monday, August 14, 2023 9:19 AM
To: hashicorp/terraform-provider-aws ***@***.***>; hashicorp/terraform-provider-aws ***@***.***>
Cc: Comment ***@***.***>; Wang, Steven 2 ***@***.***>; Chen, Xize (ext) ***@***.***>
Subject: RE: [hashicorp/terraform-provider-aws] [Bug]: aws_wafv2_web_acl Error: Provider produced inconsistent final plan (Issue #30858)
Hi Team,
We tried with 4.67.0 and 4.28.0 as well but still no luck.
Thanks,
Ananth.
From: bq-poonam-28 ***@***.******@***.***>>
Sent: Monday, August 14, 2023 7:11 AM
To: hashicorp/terraform-provider-aws ***@***.******@***.***>>
Cc: Manney, Ananth (ext) ***@***.******@***.***>>; Comment ***@***.******@***.***>>
Subject: Re: [hashicorp/terraform-provider-aws] [Bug]: aws_wafv2_web_acl Error: Provider produced inconsistent final plan (Issue #30858)
Hey, I just wanted to know which terraform version you are using? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. Message ID: <hashicorp/terraform-provider-aws/issues/30858/1677127260@ github. com>
Hey, I just wanted to know which terraform version you are using?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/hashicorp/terraform-provider-aws/issues/30858*issuecomment-1677127260__;Iw!!KDurfCY!95O8OklExd55kVW3ArcRJaPSO941u86oS9e_1DC0J8hy5k7zzwTdbi1FdQG1eU5xnYxV_sinOkMOmJ6FAyjuNq79uKc$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ3W2GRTV7FLSX25RTRTPILXVIBT7ANCNFSM6AAAAAAXGVX3OY__;!!KDurfCY!95O8OklExd55kVW3ArcRJaPSO941u86oS9e_1DC0J8hy5k7zzwTdbi1FdQG1eU5xnYxV_sinOkMOmJ6FAyjuOQB_2MY$>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
The content of this email and of any files transmitted may contain confidential, proprietary or legally privileged information and is intended solely for the use of the person/s or entity/ies to whom it is addressed. If you have received this email in error you have no permission whatsoever to use, copy, disclose or forward all or any of its contents. Please immediately notify the sender and thereafter delete this email and any attachments.
|
Have you tried with terraform version 1.5.3+ and aws provider 5.11.0+ |
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.1.7
AWS Provider Version
4.64.0
Affected Resource(s)
aws_wafv2_web_acl, aws_wafv2_ip_set
Expected Behavior
Able to apply when updating config aws cloudfront default_action.block
Actual Behavior
After terraform apply and type "yes", it produces error below. Seems like a repetitive output.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: