Skip to content
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

Provide separate route tables for db/elasticache/redshift #122

Closed

Conversation

ghost
Copy link

@ghost ghost commented May 4, 2018

Hi,

I've created separate route tables for the database, elasticache and redshift subnets.

Currently the db subnets automatically attach to the private subnet (which in turn is NAT'd out). This means the databases by default have a route to the internet.

This breaks the standard 3 tier dmz approach and I believe this shouldn't be the default. If users want to allow this, they can manually add in routes so their database subnets can be NAT'd out.

Let me know what you think and if you require any changes. Thanks for your hard work 😄

@nunofernandes
Copy link

+1

@antonbabenko
Copy link
Member

Thanks for the PR!

Yes, it makes sense to make it slightly differently from how it is implemented now.

Few comments:

  1. Make configurable if a user wants to use private route tables (as before, by default) OR create individual tables. This will require 3 new boolean variables - create_database_route_table, create_redshift_route_table, create_elasticache_route_table - all set to false by default.
  2. Update documentation describing your use-case and show piece of code (either in README or make a new example in examples).

@antonbabenko
Copy link
Member

Also, pre-commit install && pre-commit run -a will correct few minor styling errors.

@antonbabenko
Copy link
Member

After long discussions and several PRs I believe this issue is now resolved and can be closed. See #132 (comment) for details.

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants