Skip to content
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

r/aws_wafregional_rate_based_rule - add tagging support + expose arn + read after create #10897

Merged

Conversation

DrFaust92
Copy link
Collaborator

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates #9289

Release note for CHANGELOG:

- resource/resource_aws_wafregional_rate_based_rule: Add `tags` argument and `arn` attribute.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSWafRegionalRateBasedRule_'
=== RUN   TestAccAWSWafRegionalRateBasedRule_basic
=== PAUSE TestAccAWSWafRegionalRateBasedRule_basic
=== CONT  TestAccAWSWafRegionalRateBasedRule_basic
--- PASS: TestAccAWSWafRegionalRateBasedRule_basic (175.73s)
=== RUN   TestAccAWSWafRegionalRateBasedRule_tags
=== PAUSE TestAccAWSWafRegionalRateBasedRule_tags
=== RUN   TestAccAWSWafRegionalRateBasedRule_changeNameForceNew
=== PAUSE TestAccAWSWafRegionalRateBasedRule_changeNameForceNew
=== CONT  TestAccAWSWafRegionalRateBasedRule_changeNameForceNew
=== RUN   TestAccAWSWafRegionalRateBasedRule_disappears
=== PAUSE TestAccAWSWafRegionalRateBasedRule_disappears
=== CONT  TestAccAWSWafRegionalRateBasedRule_disappears
=== RUN   TestAccAWSWafRegionalRateBasedRule_changePredicates
=== PAUSE TestAccAWSWafRegionalRateBasedRule_changePredicates
=== CONT  TestAccAWSWafRegionalRateBasedRule_changePredicates
=== RUN   TestAccAWSWafRegionalRateBasedRule_changeRateLimit
=== PAUSE TestAccAWSWafRegionalRateBasedRule_changeRateLimit
=== CONT  TestAccAWSWafRegionalRateBasedRule_changeRateLimit
=== RUN   TestAccAWSWafRegionalRateBasedRule_noPredicates
=== PAUSE TestAccAWSWafRegionalRateBasedRule_noPredicates
=== CONT  TestAccAWSWafRegionalRateBasedRule_noPredicates
--- PASS: TestAccAWSWafRegionalRateBasedRule_noPredicates (126.86s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changePredicates (226.29s)
=== CONT  TestAccAWSWafRegionalRateBasedRule_tags
--- PASS: TestAccAWSWafRegionalRateBasedRule_disappears (106.22s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changeNameForceNew (293.62s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changeRateLimit (122.15s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_tags (159.32s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	418.062s

...

@DrFaust92 DrFaust92 requested a review from a team November 15, 2019 15:59
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/L Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/waf Issues and PRs that pertain to the waf service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 15, 2019
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 15, 2019
@bflad bflad added this to the v2.37.0 milestone Nov 15, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @DrFaust92 🚀

Output from acceptance testing:

--- PASS: TestAccAWSWafRegionalRateBasedRule_noPredicates (16.12s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changeRateLimit (18.16s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_tags (59.44s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changeNameForceNew (63.98s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_basic (65.44s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_changePredicates (73.59s)
--- PASS: TestAccAWSWafRegionalRateBasedRule_disappears (74.58s)

@bflad bflad merged commit 58032fa into hashicorp:master Nov 15, 2019
bflad added a commit that referenced this pull request Nov 15, 2019
@ghost
Copy link

ghost commented Nov 18, 2019

This has been released in version 2.37.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 for triage. Thanks!

@ewbankkit ewbankkit mentioned this pull request Nov 18, 2019
@DrFaust92 DrFaust92 deleted the waf-regional-rate-based-rule-tag-support branch December 24, 2019 17:12
@ghost
Copy link

ghost commented Dec 25, 2019

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!

@ghost ghost locked and limited conversation to collaborators Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/waf Issues and PRs that pertain to the waf service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants