An open API service indexing awesome lists of open source software.

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

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 |