-
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
E ec2 transit gateway update params #15556
E ec2 transit gateway update params #15556
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.
This looks great, thank you especially for all the testing additions 🚀
With regards for default_route_table_(association|propagation)
changes without the default route table existing, we can punt on that for now here and potentially document or add a followup change set to handle/error for that situation.
Output from acceptance testing:
--- PASS: TestAccAWSEc2TransitGateway_AmazonSideASN (491.82s)
--- PASS: TestAccAWSEc2TransitGateway_AutoAcceptSharedAttachments (249.04s)
--- PASS: TestAccAWSEc2TransitGateway_basic (249.90s)
--- PASS: TestAccAWSEc2TransitGateway_DefaultRouteTableAssociation (490.64s)
--- PASS: TestAccAWSEc2TransitGateway_DefaultRouteTableAssociationAndPropagationDisabled (173.44s)
--- PASS: TestAccAWSEc2TransitGateway_DefaultRouteTablePropagation (490.24s)
--- PASS: TestAccAWSEc2TransitGateway_Description (249.05s)
--- PASS: TestAccAWSEc2TransitGateway_disappears (254.64s)
--- PASS: TestAccAWSEc2TransitGateway_DnsSupport (248.99s)
--- PASS: TestAccAWSEc2TransitGateway_Tags (247.02s)
--- PASS: TestAccAWSEc2TransitGateway_VpnEcmpSupport (248.35s)
This has been released in version 3.15.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
Closes #15380
Release note for CHANGELOG:
Output from acceptance testing:
To set either (default_route_table_association|default_route_table_propagation) you must pass in a route table ID.
On creation, if either of (default_route_table_association|default_route_table_propagation) are set to enable, a default route table is created, and the ID of that route table is used.
On modification, a route table is not created, so an ID must be passed in manually.
Hoping for some guidance, so far I left enabling either of those 2 out of this PR (although now disabling them won't ForceNew), but if the consensus is that they should be fully included, I suppose we could create a routeTable as part of the Update function if any of these change to "enable". Note that making this same change via console would require you to first create a TGW route table.