It's not clear if this is actually an issue with Terraform, here are the issues I've encountered.
Terraform Core Version : 1.7.5
AWS Provider Version : 5.72.1
Affected Resource(s) : webACL
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
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
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
References
No response
Would you like to implement a fix?
None