-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying
single_nat_gateway
in network_config
NAT Gateways are pricey, at $32/month, and also entail provisioning an Elastic IP ($4/month). This isn't going to break the bank, but also, it isn't necessary at all for our non-production environments since they can tolerate an unlikely AWS AZ outage. This commit adds the ability to pass through a `single_nat_gateway` variable all the way to the `vpc` module, which supports sending all our external traffic via a single NAT gateway.
- Loading branch information
Showing
4 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ locals { | |
# } | ||
} | ||
} | ||
|
||
single_nat_gateway = true | ||
} | ||
|
||
staging = { | ||
|