Closed piartz closed 8 months ago
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
upping the PR so it is not stale anymore
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
This PR was automatically closed because of stale in 10 days
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
Support for multiple route tables when creating public subnets
Motivation and Context
Guarantee that the used route table for public subnets on creation is different when a boolean variable is set to true. Motivation from issue https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/1020
Breaking Changes
No breaking changes, as the variable is optional and defaulted to 'false'.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull requestUsed the examples/simple/* directory as a start. Changed the
private_subnets
array forpublic_subnets
and verified that the behavior described by the requester is happening. Included the variablecreate_multiple_public_route_tables
and set to true. Verified in multiple runs of apply and destroy that the created route table is different for each new public subnet.Changes to examples/simple/ have not been reflected on the push. I also did not want to copy-paste the contents of 'simple' for this use case, for a more clean, less complex state of the examples folder. Please let me know if you prefer the example to be included.