terraform-aws-modules/terraform-aws-vpc

Assign a primary private IP to NAT Gateway during creation

mdimarino opened this issue ยท 3 comments

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • No ๐Ÿ›‘: please wait to file a request until the functionality is avaialble in the AWS provider
  • Yes โœ…: please list the AWS provider version which introduced this functionality

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway
It is possible to assign a primary private IP to NAT Gateway during creation (private_ip).

Is your request related to a problem? Please describe.

Usually we create some EC2 with fixed IPs, most VPN connectors. There is a chance of NAT Gateways use that same IP address during creation.

Describe the solution you'd like.

To gain control of which private IP a NAT Gateway will use. Better to network design and auditing process.

Describe alternatives you've considered.

None so far.

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

This issue was automatically closed because of stale in 10 days

I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.