-
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
New data sources: aws_route53_resolver_rule and aws_route53_resolver_rules #9085
Conversation
TODO:
|
e374d41
to
4d07c52
Compare
Removed WIP. |
Rebased to fix merge conflict. |
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.
Hi @ewbankkit thanks for putting together these data sources. This is looking good. I left a few minor suggestions along with some output around a failing test case that only occurs when running all data source tests in parallel. Please take a look and let me know if you have any questions or if you no longer have bandwidth to work on this PR.
Co-Authored-By: Wilken Rivera <[email protected]>
Co-Authored-By: Wilken Rivera <[email protected]>
Co-Authored-By: Wilken Rivera <[email protected]>
Re-ran acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsRoute53ResolverRule_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccDataSourceAwsRoute53ResolverRule_ -timeout 120m
=== RUN TestAccDataSourceAwsRoute53ResolverRule_basic
=== PAUSE TestAccDataSourceAwsRoute53ResolverRule_basic
=== RUN TestAccDataSourceAwsRoute53ResolverRule_ResolverEndpointIdWithTags
=== PAUSE TestAccDataSourceAwsRoute53ResolverRule_ResolverEndpointIdWithTags
=== CONT TestAccDataSourceAwsRoute53ResolverRule_basic
=== CONT TestAccDataSourceAwsRoute53ResolverRule_ResolverEndpointIdWithTags
--- PASS: TestAccDataSourceAwsRoute53ResolverRule_basic (41.96s)
--- PASS: TestAccDataSourceAwsRoute53ResolverRule_ResolverEndpointIdWithTags (274.83s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 274.855s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsRoute53ResolverRules_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccDataSourceAwsRoute53ResolverRules_ -timeout 120m
=== RUN TestAccDataSourceAwsRoute53ResolverRules_basic
=== PAUSE TestAccDataSourceAwsRoute53ResolverRules_basic
=== RUN TestAccDataSourceAwsRoute53ResolverRules_ResolverEndpointId
=== PAUSE TestAccDataSourceAwsRoute53ResolverRules_ResolverEndpointId
=== CONT TestAccDataSourceAwsRoute53ResolverRules_basic
=== CONT TestAccDataSourceAwsRoute53ResolverRules_ResolverEndpointId
--- PASS: TestAccDataSourceAwsRoute53ResolverRules_basic (16.98s)
--- PASS: TestAccDataSourceAwsRoute53ResolverRules_ResolverEndpointId (428.15s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 428.186s |
@nywilken All review comments addressed. |
hi @ewbankkit sorry for the delayed turn around on this PR. I was still running into issues when running the tests for both data sources in parallel.
I went ahead and fixed the test by changing the route53 resolver rule type in one of the test configurations to get it passing. I will merge this in and we can look to revisit the test if you think it no longer reflects your initial intent.
|
Merged manually with additional commits. |
This has been released in version 2.28.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! |
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! |
Community Note
Fixes #8508.
Release note for CHANGELOG:
Output from acceptance testing: