-
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
data-source/aws_route53_zone: add linked service attributes #9390
Conversation
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 @jstewmon 👋 Thank you for submitting this. I left an initial review below -- please reach out if you have any questions or do not have time to implement the feedback items. 👍
43b2660
to
93f1cc8
Compare
- updated test checks to leverage to test helpers - updated the tf config to use explicit argument indexes
@bflad thanks for the excellent feedback. I've incorporated your suggestions and completely replaced the old test check function with the resource helpers. |
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.
These updates are great, thanks so much, @jstewmon 🚀
--- PASS: TestAccDataSourceAwsRoute53Zone (121.88s)
@@ -32,12 +32,10 @@ func dataSourceAwsRoute53Zone() *schema.Resource { | |||
}, | |||
"comment": { | |||
Type: schema.TypeString, | |||
Optional: true, |
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.
🙇 thank you
// rsName for the name of the created resource | ||
// dsName for the name of the created data source | ||
// zName for the name of the domain | ||
func testAccDataSourceAwsRoute53ZoneCheck(rsName, dsName, zName string) resource.TestCheckFunc { |
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.
❤️ thank you!
The enhancement to the For further feature requests or bug reports with this resource, 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! |
name_servers
check to test the data source, not the resourceattributes varialbe to improve readability
Community Note
Release note for CHANGELOG:
Output from acceptance testing: