Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Conversation

@ivanfetch
Copy link
Contributor

IF NAT instances are used, optional inputs are whether to use Elastic
IPs, an SSH key name, and the EC2 instance type. The latest Amazon VPC
NAT AMI is used. The use of NAT instances can be less expensive than NAT
gateways for development VPCs. NAT instances can be stopped when not in
use.

Copy link
Contributor

@achille-roussel achille-roussel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look great, @calvinfo @yields unless you guys have concerns I'll merge this tomorrow.

@calvinfo
Copy link
Contributor

Nope, makes total sense. Thanks both of you guys!

@Brzhk
Copy link

Brzhk commented Jul 27, 2017

Looks great!

@ivanfetch
Copy link
Contributor Author

Thank you @achille-roussel @calvinfo and @yields - it was a pleasure to add to this module.

IF NAT instances are used, optional inputs are whether to use Elastic
IPs, an SSH key name, and the EC2 instance type. The latest Amazon VPC
NAT AMI is used. The use of NAT instances can be less expensive than NAT
gateways for development VPCs. NAT instances can be stopped when not in
use.
…tances

New Amazon NAT AMIs are now ignored - this previously caused NAT instances
to be recreated.

NAT instances no longer use associate_public_ip_address, as this caused
instances which were not using an Elastic IP Address to be
recreated if Terraform was run while NAT instances were stopped.
@ivanfetch
Copy link
Contributor Author

I've committed some fixes to this branch - ignoring new Amazon NAT AMIs, no longer using associate_public_ip_address to avoid recreating NAT instances when they are stopped and not using an Elastic IP, and adding a cidr_block output.

Copy link
Contributor

@achille-roussel achille-roussel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for your contributions 👍

@achille-roussel achille-roussel merged commit 5fa6c19 into segmentio:master Nov 1, 2017
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.

4 participants