-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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 setting aws_managed_rules_bot_control_rule_set #28808
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
+1, facing the same issue. When can this be fixed ? |
+1, the PR that originally added this configuration did not test the use-case for adding the bot control feature 😭 |
fix(wafv2): fix issue creating aws_wafv2_web_acl #28808
This functionality has been released in v4.52.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
error is still present though :/
|
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. |
Terraform Core Version
1.1.7
AWS Provider Version
4.49.0
Affected Resource(s)
aws_wafv2_web_acl
Expected Behavior
Be able to create an ACL defining the aws_managed_rules_bot_control_rule_set section
Actual Behavior
Terraform throws an error saying that the config is not present
Relevant Error/Panic Output Snippet
Terraform Configuration Files
This is the short version of the Terraform code I have
Steps to Reproduce
When I apply the shared config the error arises, but If I remove the
managed_rule_group_configs
section it works.Looking through the code it seems there is a typo that makes the request to not be well-formed.
terraform-provider-aws/internal/service/wafv2/flex.go
Line 1008 in f7cf135
I think instead of
aws_managed_rules_bot_rule_set
it should beaws_managed_rules_bot_control_rule_set
as it is hereterraform-provider-aws/internal/service/wafv2/flex.go
Line 2026 in f7cf135
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: