VPC Outputs
The ID of the VPC.Example:
vpc-0123456789abcdef0The CIDR block of the VPC.Example:
10.0.0.0/16The ID of the default security group created by AWS for the VPC.Example:
sg-0123456789abcdef0The ID of the default network ACL created by AWS for the VPC.Example:
acl-0123456789abcdef0Subnet Outputs
List of IDs of public subnets.Example:
["subnet-abc123", "subnet-def456", "subnet-ghi789"]List of IDs of private subnets.Example:
["subnet-abc123", "subnet-def456", "subnet-ghi789"]List of IDs of database subnets.Example:
["subnet-abc123", "subnet-def456", "subnet-ghi789"]List of IDs of elasticache subnets.Example:
["subnet-abc123", "subnet-def456", "subnet-ghi789"]Subnet Group Outputs
The name/ID of the RDS database subnet group. Only created if
create_database_subnet_group is true and database_subnets are provided.Example: my-vpc-rds-subnet-groupThe name/ID of the ElastiCache subnet group. Only created if
elasticache_subnets are provided.Example: my-vpc-elasticache-subnet-groupRoute Table Outputs
List of IDs of public route tables.Example:
["rtb-0123456789abcdef0"]List of IDs of private route tables. One route table is created per availability zone.Example:
["rtb-abc123", "rtb-def456", "rtb-ghi789"]Internet Gateway Outputs
The ID of the Internet Gateway. Only created if
public_subnets are provided.Example: igw-0123456789abcdef0NAT Gateway Outputs
List of NAT Gateway IDs. Only created if
enable_nat_gateway is true. The number of NAT Gateways depends on the single_nat_gateway setting:- If
single_nat_gatewayis true: one NAT Gateway - If
single_nat_gatewayis false: one NAT Gateway per availability zone
["nat-abc123", "nat-def456", "nat-ghi789"]List of Elastic IP allocation IDs for NAT Gateways. Only created if
enable_nat_gateway is true.Example: ["eipalloc-abc123", "eipalloc-def456", "eipalloc-ghi789"]List of public IP addresses of Elastic IPs for NAT Gateways. Only created if
enable_nat_gateway is true.Example: ["54.123.45.67", "54.123.45.68", "54.123.45.69"]VPC Endpoint Outputs
The ID of the VPC endpoint for S3. Only created if
enable_s3_endpoint is true.Example: vpce-0123456789abcdef0The ID of the VPC endpoint for DynamoDB. Only created if
enable_dynamodb_endpoint is true.Example: vpce-0123456789abcdef0