-
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
Add name_prefix argument for WAFv2 resources #40889
base: main
Are you sure you want to change the base?
Add name_prefix argument for WAFv2 resources #40889
Conversation
Community NoteVoting for Prioritization
For Submitters
|
9164266
to
be7aa89
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.
Welcome @rbreslow 👋
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 CONTRIBUTOR 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! 😃
Description
This PR builds off #33206, which added
name_prefix
support toaws_wafv2_rule_group
, to addname_prefix
support to the rest of the WAFv2 resources. Also, I added RegEx validation to thename
argument that was missing for_ip_set
and_regex_pattern_set
.Relations
Relates #40740 (allows you to use
create_before_destroy
to work around this import bug)Output from Acceptance Testing
I ran all acceptance tests that start with
TestAccWAFV2
:One test failed but it appeared to be unrelated to my changes. I reran that specific test and it passed: