-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
fix: Manage route tables for multiple database subnets #494
fix: Manage route tables for multiple database subnets #494
Conversation
Looks good to me, ill try to test all the cases. |
@antonbabenko @DrFaust92 Did you have a chance to look at this? Thanks! |
@y-batsianouski Can you please update this with the base branch? @antonbabenko @DrFaust92 I can confirm that this fixes the issue I reported #516 |
@Chili-Man I'll try to manage this soon. But It's not very interesting for me now because I've written my own tf module for VPC which was inspired by this module but provides much more flexibility: https://registry.terraform.io/modules/y-batsianouski/vpc/aws. |
@y-batsianouski I understand, thanks for the update; I can carry this forward then; I'll open a new pr with these changes |
@y-batsianouski @antonbabenko @DrFaust92 I've opened this pr to carry the changes forward here: #518 . Feel free to close this PR |
Closining. @Chili-Man handover this changes in it's PR: #518 |
hi all, this is fixed now in #518 |
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
Module fails when I try to create multiple database subnets with
create_database_subnet_route_table = true
andsingle_nat_gateway = false
Motivation and Context
When I try to create multiple database subnets with it's own route tables, module tries to create:
Breaking Changes
There was no possibility to create multiple db subnets with
create_database_subnet_route_table = true
andsingle_nat_gateway = false
. So there are shouldn't be breaking changes.How Has This Been Tested?
Case 1
Creates 2 route tables for database subnets. Points each route table to appropriate NAT gateway
Case 2
Creates 1 route table for all database subnets. Points route table to single NAT gateway
Case 3
Creates 1 route table for all database subnets. Points route table to internet gateway