https://github.com/plus3it/terraform-aws-private-nat-gateway
Terraform module to create a Private NAT Gateway in an AWS VPC
https://github.com/plus3it/terraform-aws-private-nat-gateway
Last synced: 4 months ago
JSON representation
Terraform module to create a Private NAT Gateway in an AWS VPC
- Host: GitHub
- URL: https://github.com/plus3it/terraform-aws-private-nat-gateway
- Owner: plus3it
- License: apache-2.0
- Created: 2025-04-08T22:02:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-24T20:42:57.000Z (over 1 year ago)
- Last Synced: 2025-04-30T21:14:13.445Z (over 1 year ago)
- Language: Makefile
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-private-nat-gateway
Terraform module to manage a *private* AWS NAT Gateway
## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | n/a |
## Resources
| Name | Type |
|------|------|
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [nat\_gateway](#input\_nat\_gateway) | Object of inputs for Private NAT Gateway configuration |
object({
name = string
subnet_id = optional(string)
tags = optional(map(string))
secondary_private_ip_address_count = optional(number)
secondary_private_ip_addresses = optional(list(string))
subnet = optional(object({
cidr_block = string
name = string
availability_zone = optional(string)
tags = optional(map(string))
}))
route_table = optional(object({
name = string
tags = optional(map(string))
}))
vpc = optional(object({
id = string
}))
routes = optional(list(object({
name = string
route_table_id = string
destination_cidr_block = optional(string)
destination_ipv6_cidr_block = optional(string)
destination_prefix_list_id = optional(string)
carrier_gateway_id = optional(string)
core_network_arn = optional(string)
egress_only_gateway_id = optional(string)
gateway_id = optional(string)
local_gateway_id = optional(string)
nat_gateway_id = optional(string)
network_interface_id = optional(string)
transit_gateway_id = optional(string)
vpc_endpoint_id = optional(string)
vpc_peering_connection_id = optional(string)
})), [])
}) | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [nat\_gateway](#output\_nat\_gateway) | Object of attributes for the NAT Gateway resource |
| [route\_table](#output\_route\_table) | Object of attributes for the Route Table resource |
| [route\_table\_association](#output\_route\_table\_association) | Object of attributes for the Route Table Association resource |
| [routes](#output\_routes) | Object of attributes for the Route resources |
| [subnet](#output\_subnet) | Object of attributes for the Subnet resource |