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

Add support resource import for aws wafregional regex match set resource #9699

Conversation

teraken0509
Copy link
Contributor

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 #9212

Release note for CHANGELOG:

resource/aws_wafregional_regex_match_set: Support resource import

Output from acceptance testing:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSWafRegionalRegexMatchSet'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -parallel 20 -run=TestAccAWSWafRegionalRegexMatchSet -timeout 120m
=== RUN   TestAccAWSWafRegionalRegexMatchSet
=== RUN   TestAccAWSWafRegionalRegexMatchSet/basic
=== RUN   TestAccAWSWafRegionalRegexMatchSet/changePatterns
=== RUN   TestAccAWSWafRegionalRegexMatchSet/noPatterns
=== RUN   TestAccAWSWafRegionalRegexMatchSet/disappears
--- PASS: TestAccAWSWafRegionalRegexMatchSet (166.99s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/basic (46.82s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/changePatterns (56.52s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/noPatterns (27.43s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/disappears (36.22s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	167.094s

@teraken0509 teraken0509 requested a review from a team August 9, 2019 13:14
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/waf Issues and PRs that pertain to the waf service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Aug 9, 2019
@teraken0509 teraken0509 force-pushed the feature/add-support-resource-import-for-aws_wafregional_regex_match_set-resource branch from bb0076a to 55f5c8c Compare August 10, 2019 09:22
@teraken0509
Copy link
Contributor Author

Re-run acctest.

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSWafRegionalRegexMatchSet'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -parallel 20 -run=TestAccAWSWafRegionalRegexMatchSet -timeout 120m
=== RUN   TestAccAWSWafRegionalRegexMatchSet
=== RUN   TestAccAWSWafRegionalRegexMatchSet/basic
=== RUN   TestAccAWSWafRegionalRegexMatchSet/changePatterns
=== RUN   TestAccAWSWafRegionalRegexMatchSet/noPatterns
=== RUN   TestAccAWSWafRegionalRegexMatchSet/disappears
--- PASS: TestAccAWSWafRegionalRegexMatchSet (162.16s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/basic (44.35s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/changePatterns (56.42s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/noPatterns (27.34s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/disappears (34.04s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	162.233s

@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 12, 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 @kterada0509 🚀

--- PASS: TestAccAWSWafRegionalRegexMatchSet (44.38s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/noPatterns (8.13s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/disappears (9.90s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/basic (10.64s)
    --- PASS: TestAccAWSWafRegionalRegexMatchSet/changePatterns (15.71s)

@bflad bflad added this to the v2.24.0 milestone Aug 12, 2019
@bflad bflad merged commit 33803a8 into hashicorp:master Aug 12, 2019
bflad added a commit that referenced this pull request Aug 12, 2019
@ghost
Copy link

ghost commented Aug 15, 2019

This has been released in version 2.24.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!

@ghost
Copy link

ghost commented Nov 1, 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 Nov 1, 2019
@teraken0509 teraken0509 deleted the feature/add-support-resource-import-for-aws_wafregional_regex_match_set-resource branch March 5, 2020 14:04
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/M 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