hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.81k stars 9.16k forks source link

[WAFv2] aws_wafv2_web_acl #39867

Open uyggnodoow opened 2 days ago

uyggnodoow commented 2 days ago

Description

Hello 👋

It's not clear if this is actually an issue with Terraform, here are the issues I've encountered.


We removed a few rules through the WAF deployment using terraform.

Before deployment, the WebACL's WCUs is 2630, but the rule removal should reduce the WCUs by 1000 or so.

I actually deployed it, and it looks fine in the AWS management console: (2630 - > 1645)

However, in the CLI, it looks like this

Plan: 0 to add, 1 to change, 0 to destroy.

Changes to Outputs:
  ~ aws_wafv2_capacity                         = 2630 -> 2645

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

aws_wafv2_web_acl.this: Modifying... [id=]
aws_wafv2_web_acl.this: Modifications complete after 4s [id=]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Outputs:

aws_wafv2_arn = ""
aws_wafv2_capacity = 2645

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 2 days ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue