-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
feat: Optionally update VPC Route Tables for attached VPCs #35
feat: Optionally update VPC Route Tables for attached VPCs #35
Conversation
@jmcorallo would you mind rebasing this against master to update your branch? |
@tfhartmann ready |
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! Thanks for rebasing!
v2.4.0 has been just released. PS: @tfhartmann Could you please update the example code (in the Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When attaching a VPC to a Transit Gateway, you also need to update the VPC's Route Table(s) to direct traffic to the TGW. Currently this needs to be done outside of the module. With this change it is now possible to provide 2 extra values on the
vpc_attachments
object.For example:
Motivation and Context
Motivation: currently we are using this module and additionally defining our routes outside the module.
There's also this issue open: #17
Breaking Changes
If you have defined routes outside the module you cannot redefine them with these new parameters (you need to move them with
terraform state mv
or delete and recreate them).Since the new parameters are optional there is no breaking change.
How Has This Been Tested?
In own environment, with and without the new values.