-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Implemented Scope-down statements on WAFv2 Web ACL Managed Rules #19407
Implemented Scope-down statements on WAFv2 Web ACL Managed Rules #19407
Conversation
This is a work in progress. The functionality works but the acceptance tests are not passing at the moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @Adirael 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
@Adirael Thanks for your work on this! Let us know when it's ready for review (although it may take a little while to review, we'll do our best). |
f9ef123
to
89007f7
Compare
I would say that this is ready! Thanks for your patience :) |
Any updates on this? This is a feature that our team is looking to utilize |
I run into this problem, assuming scope down would be supported, only later realised https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl#managed-rule-group-statement Please consider stating this explicitly in the docs: |
Any updates on this? This is a feature that our team is looking to utilize |
Co-authored-by: Jack Shubatt <shubydo777@gmail.com>
89007f7
to
3bbbf30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🎉
Output from acceptance tests (us-west-2
):
--- PASS: TestAccAwsWafv2WebACL_disappears (54.10s)
--- PASS: TestAccAwsWafv2WebACL_basic (55.67s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_forwardedIPConfig (58.12s)
--- PASS: TestAccAwsWafv2WebACL_Update_nameForceNew (58.25s)
--- PASS: TestAccAwsWafv2WebACL_minimal (73.92s)
--- PASS: TestAccAwsWafv2WebACL_tags (74.36s)
--- PASS: TestAccAwsWafv2WebACL_GeoMatch_forwardedIPConfig (83.29s)
--- PASS: TestAccAwsWafv2WebACL_RuleGroupReference_basic (85.28s)
--- PASS: TestAccAwsWafv2WebACL_ManagedRuleGroup_basic (85.45s)
--- PASS: TestAccAwsWafv2WebACL_IPSetReference_basic (92.49s)
--- PASS: TestAccAwsWafv2WebACL_GeoMatch_basic (96.57s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_maxNested (98.17s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_basic (98.86s)
--- PASS: TestAccAwsWafv2WebACL_Custom_requestHandling (109.50s)
--- PASS: TestAccAwsWafv2WebACL_Custom_response (115.56s)
--- PASS: TestAccAwsWafv2WebACL_Operators_maxNested (144.78s)
--- PASS: TestAccAwsWafv2WebACL_Update_ruleProperties (147.90s)
--- PASS: TestAccAwsWafv2WebACL_Update_rule (155.24s)
--- PASS: TestAccAwsWafv2WebACL_IPSetReference_forwardedIPConfig (161.90s)
Output from acceptance tests (GovCloud):
--- PASS: TestAccAwsWafv2WebACL_minimal (25.21s)
--- PASS: TestAccAwsWafv2WebACL_basic (34.70s)
--- PASS: TestAccAwsWafv2WebACL_disappears (42.97s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_maxNested (58.74s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_basic (66.02s)
--- PASS: TestAccAwsWafv2WebACL_Update_nameForceNew (72.26s)
--- PASS: TestAccAwsWafv2WebACL_RateBased_forwardedIPConfig (89.30s)
--- PASS: TestAccAwsWafv2WebACL_IPSetReference_basic (92.80s)
--- PASS: TestAccAwsWafv2WebACL_GeoMatch_basic (96.44s)
--- PASS: TestAccAwsWafv2WebACL_RuleGroupReference_basic (99.86s)
--- PASS: TestAccAwsWafv2WebACL_Update_rule (102.27s)
--- PASS: TestAccAwsWafv2WebACL_ManagedRuleGroup_basic (107.80s)
--- PASS: TestAccAwsWafv2WebACL_Operators_maxNested (120.29s)
--- PASS: TestAccAwsWafv2WebACL_Custom_requestHandling (132.81s)
--- PASS: TestAccAwsWafv2WebACL_IPSetReference_forwardedIPConfig (135.89s)
--- PASS: TestAccAwsWafv2WebACL_Update_ruleProperties (142.20s)
--- PASS: TestAccAwsWafv2WebACL_tags (152.50s)
--- PASS: TestAccAwsWafv2WebACL_GeoMatch_forwardedIPConfig (161.98s)
--- PASS: TestAccAwsWafv2WebACL_Custom_response (168.19s)
This functionality has been released in v3.50.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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #18584
Closes #19125
Relates #15580
Output from acceptance testing: