-
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
aws_wafregional_web_acl + aws_web_acl rule group support #5053
aws_wafregional_web_acl + aws_web_acl rule group support #5053
Conversation
Excellent and thank you! |
I used the compiled module against my own AWS sandbox account and created both global and regional WebACLs referencing a marketplace rule group, changed them to reference another UUID, and then destroyed them successfully. |
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.
This should clear up a ton of issues! Thanks @jsandmeyer! 🚀 I'm a little worried we should probably include a separate type = "GROUP"
example in each of the resources, but that can be handled after this.
15 tests passed (all tests)
=== RUN TestAccAWSWafRegionalWebAcl_createRateBased
--- PASS: TestAccAWSWafRegionalWebAcl_createRateBased (23.83s)
=== RUN TestAccAWSWafRegionalWebAcl_noRules
--- PASS: TestAccAWSWafRegionalWebAcl_noRules (25.21s)
=== RUN TestAccAWSWafWebAcl_group
--- PASS: TestAccAWSWafWebAcl_group (31.98s)
=== RUN TestAccAWSWafRegionalWebAcl_disappears
--- PASS: TestAccAWSWafRegionalWebAcl_disappears (45.37s)
=== RUN TestAccAWSWafRegionalWebAcl_changeRules
--- PASS: TestAccAWSWafRegionalWebAcl_changeRules (47.03s)
=== RUN TestAccAWSWafRegionalWebAcl_changeNameForceNew
--- PASS: TestAccAWSWafRegionalWebAcl_changeNameForceNew (56.60s)
=== RUN TestAccAWSWafRegionalWebAcl_changeDefaultAction
--- PASS: TestAccAWSWafRegionalWebAcl_changeDefaultAction (63.46s)
=== RUN TestAccAWSWafRegionalWebAcl_basic
--- PASS: TestAccAWSWafRegionalWebAcl_basic (66.43s)
=== RUN TestAccAWSWafWebAcl_basic
--- PASS: TestAccAWSWafWebAcl_basic (66.90s)
=== RUN TestAccAWSWafRegionalWebAcl_createGroup
--- PASS: TestAccAWSWafRegionalWebAcl_createGroup (67.79s)
=== RUN TestAccAWSWafWebAcl_disappears
--- PASS: TestAccAWSWafWebAcl_disappears (75.20s)
=== RUN TestAccAWSWafWebAcl_changeDefaultAction
--- PASS: TestAccAWSWafWebAcl_changeDefaultAction (110.86s)
=== RUN TestAccAWSWafWebAcl_changeNameForceNew
--- PASS: TestAccAWSWafWebAcl_changeNameForceNew (113.25s)
=== RUN TestAccAWSWafRegionalWebAclAssociation_basic
--- PASS: TestAccAWSWafRegionalWebAclAssociation_basic (223.54s)
=== RUN TestAccAWSWafRegionalWebAclAssociation_multipleAssociations
--- PASS: TestAccAWSWafRegionalWebAclAssociation_multipleAssociations (234.52s)
This has been released in version 1.27.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Fixes #4077
Fixes #4052
Changes proposed in this pull request:
type=GROUP
inaws_waf_web_acl
type=GROUP
inaws_wafregional_web_acl
override_action
for entries wheretype=GROUP
in both modified providersaws_waf_rule_group
aws_wafregional_rule_group
Output from acceptance testing: