-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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 source aws_ec2_transit_gateway_route_tables #17589
New data source aws_ec2_transit_gateway_route_tables #17589
Conversation
… is not even slightly my first language. This is to resolve 12373 which I would like to resolve for selfish reasons as it affects me. It seemed like a good place to start. The new data source "aws_ec2_transit_gateway_route_tables" is modelled after "aws_route_tables". The code is shamelessly plagiarized from the aws_route_tables and the aws_transit_gateway_route_table resources. I've included tests which I think are right, but I'm not sure on protocol for running them. The code compiles. Which is a good start.
…_transit_gateway_route_table
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 @mrobinson-anaplan, thank you for this PR! overall looked in great condition 👍 To get this into an upcoming release, I've gone ahead and made some changes related to the Route Table filtering. In short, since we can use the filter
block to filter by transit gateway, i've removed that field from the schema to make the filtering uniform for users. With that said, additional changes in the test and documentation reflect the changes made in the data source filtering.
…itional test coverage, doc updates
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.
Thanks again @mrobinson-anaplan 🚀 !
Output of acceptance tests (commercial):
--- PASS: TestAccDataSourceAwsEc2TransitGatewayRouteTables_Filter (358.86s)
--- PASS: TestAccDataSourceAwsEc2TransitGatewayRouteTables_basic (368.72s)
Thanks @anGie44 |
This has been released in version 3.33.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! |
Greetings. This is my first attempt to contribute to any public terraform provider and go is not even slightly my first language.
This is to resolve issue #12373 which I would like to resolve for selfish reasons as it affects me. It seemed like a good place to start contributing as I'm a heavy user of the really rather excellent provider.
The new data source "aws_ec2_transit_gateway_route_tables" is modelled after "aws_route_tables". The code is shamelessly plagiarised from the aws_route_tables and the aws_transit_gateway_route_table data sources.
Community Note
Relates OR Closes #12373
Output from acceptance testing: