VPC Module - Allow disabling of the internet gateway #107
+90
−17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Bool and var to allow for igw to not be created along with public route and route table.
Issue or Ticket
Fixes #106
Type of change
Breaking Changes
Breaking Changes Description
This change will recreate the internet gateway, public route table, and default route associated with each. This is due to the index value of each resource changing. To work around this, you can use the move {} block in terraform to move the index of any existing igw, public route table, and public default route.
For example:
TODOs