feat: Optionally update VPC Route Tables for attached VPCs#35
feat: Optionally update VPC Route Tables for attached VPCs#35antonbabenko merged 5 commits intoterraform-aws-modules:masterfrom jmcorallo:update-route-table
Conversation
|
@jmcorallo would you mind rebasing this against master to update your branch? |
|
@tfhartmann ready |
tfhartmann
left a comment
There was a problem hiding this comment.
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_attachmentsobject.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 mvor 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.