Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imjoseangel/terraform-aws-privatenat
Create a Private NAT Solution to Avoid IP Exhaustion on AWS
https://github.com/imjoseangel/terraform-aws-privatenat
aws cloud terraform terraform-module vpc
Last synced: 2 days ago
JSON representation
Create a Private NAT Solution to Avoid IP Exhaustion on AWS
- Host: GitHub
- URL: https://github.com/imjoseangel/terraform-aws-privatenat
- Owner: imjoseangel
- License: mit
- Created: 2022-03-22T18:37:07.000Z (almost 3 years ago)
- Default Branch: devel
- Last Pushed: 2024-05-10T04:23:39.000Z (8 months ago)
- Last Synced: 2024-05-15T20:13:55.185Z (8 months ago)
- Topics: aws, cloud, terraform, terraform-module, vpc
- Language: HCL
- Homepage:
- Size: 234 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# terraform-aws-privatenat
[![Terraform](https://github.com/imjoseangel/terraform-aws-privatenat/actions/workflows/terraform.yml/badge.svg)](https://github.com/imjoseangel/terraform-aws-privatenat/actions/workflows/terraform.yml)
## Deploy a Terraform Private NAT Subnet
This Terraform module deploys a Private NAT in Amazon Web Services.
### NOTES
* Assumes only two private subnets are available in the VPC.
## Usage in Terraform 1.0
```terraform
module "privatenat" {
source = "github.com/imjoseangel/terraform-aws-privatenat"
vpc_name = ["my-vpc"]
subnet_nat_name = "my-subnet-nat"
subnet_gw_name = "my-subnet-gw"
subnets_spoke_names = ["spoke-eu-west-1a", "spoke-eu-west-1b"]
igw_name = "my-igw"
private_nat_name = "my-private-nat"
nateip_name = "my-nateip"
vpc_isolated_name = "my-vpc-isolated"
subnet_isolated_name = "my-subnet-isolated"
transit_gateway_name = "my-transit-gateway"
}data "aws_route" "main" {
route_table_id = aws_route_table.main.id
destination_cidr_block = "100.65.0.0/16"
transit_gateway_id = aws_transit_gateway.main.id
}
```## Authors
Originally created by [imjoseangel](http://github.com/imjoseangel)
## License
[MIT](LICENSE)