Name | Version |
---|---|
terraform | >= 1.9.5 |
aws | >= 5.67.0 |
Name | Version |
---|---|
aws | 5.67.0 |
No modules.
Name | Type |
---|---|
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.10.0/24" |
no |
has_internet_access | Whether this network has internet access | bool |
false |
no |
name | Subnet name | string |
"" |
no |
ngw_id | NAT Gateway ID for internet access | 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 |