Name | Version |
---|---|
terraform | >= 1.9.5 |
aws | >= 5.67.0 |
Name | Version |
---|---|
aws | 5.67.0 |
No modules.
Name | Type |
---|---|
aws_eip.nat | resource |
aws_nat_gateway.ngw | resource |
aws_route_table.private | resource |
aws_route_table_association.internet | resource |
aws_subnet.subnet | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_zone | Availability zone of the subnet | string |
"eu-west-3a" |
no |
cidr_block | IPv4 CIDR block for the subnet | string |
"10.0.1.0/24" |
no |
has_internet_access | Whether this networl has internet access | bool |
false |
no |
map_public_ip_on_launch | Specify true to indicate that instances launched into the subnet should be assigned a public IP address | bool |
false |
no |
name | Subnet name | string |
"" |
no |
private_internet_route_table_id | Private internet route table ID | string |
"" |
no |
public_subnet_id | Public subnet ID that will host the NAT gateway | string |
"" |
no |
tags | A map of tags to add to all resources in the subnet | map(string) |
{} |
no |
vpc_id | VPC ID where the subnet will be created | string |
"" |
no |
Name | Description |
---|---|
arn | Subnet ARN |
cidr_block | Subnet CIDR block |
subnet_id | Subnet ID |