segmentio / stack

A set of Terraform modules for configuring production infrastructure with AWS
https://open.segment.com
MIT License
2.1k stars 422 forks source link

Nat gateway #120

Open feraudet opened 7 years ago

feraudet commented 7 years ago

Hi, It would be fine to have possibility to have a stack without NAT gateway ... Regards, Cyril

achille-roussel commented 7 years ago

I'm open to hearing your suggestion on what to replace the NAT gateway with, also feel free to submit a PR.

feraudet commented 7 years ago

Hi, Replace it with nothing. We may would like to do not route private subnet to internet. We can use http proxy for update for exemple. An internet GW with public IP on ec2 may work too. In this case we have not predicable output IP but it can be acceptable for lot of use case. I will find the time to submit a PR