Skip to content

plus3it/terraform-aws-private-nat-gateway

Repository files navigation

terraform-aws-private-nat-gateway

Terraform module to manage a private AWS NAT Gateway

Requirements

No requirements.

Providers

Name Version
aws n/a

Resources

Name Type

Inputs

Name Description Type Default Required
nat_gateway Object of inputs for Private NAT Gateway configuration
object({
name = string
subnet_id = optional(string)
tags = optional(map(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 Object of attributes for the NAT Gateway resource
route_table Object of attributes for the Route Table resource
route_table_association Object of attributes for the Route Table Association resource
routes Object of attributes for the Route resources
subnet Object of attributes for the Subnet resource

About

Terraform module to create a Private NAT Gateway in an AWS VPC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •