2021-01-28 15:04:01 +08:00
|
|
|
output vpc_id {
|
|
|
|
value = aws_vpc.vpc.id
|
|
|
|
}
|
|
|
|
|
|
|
|
output public_subnets {
|
|
|
|
value = aws_subnet.public-subnets.*.cidr_block
|
|
|
|
}
|
|
|
|
|
|
|
|
output private_subnets {
|
|
|
|
value = aws_subnet.private-subnets.*.cidr_block
|
|
|
|
}
|
2022-10-06 15:20:42 +08:00
|
|
|
|
|
|
|
output public-subnet-ids {
|
|
|
|
value = aws_subnet.public-subnets.*.id
|
|
|
|
}
|
|
|
|
|
|
|
|
output private-subnet-ids {
|
|
|
|
value = aws_subnet.private-subnets.*.id
|
2023-02-21 12:26:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
output vpc-cidr {
|
|
|
|
value = aws_vpc.vpc.cidr_block
|
|
|
|
}
|
|
|
|
|
|
|
|
output private-rtb-id {
|
|
|
|
value = aws_route_table.private-route-table[0].id
|
|
|
|
}
|
|
|
|
|
|
|
|
output public-rtb-id {
|
|
|
|
value = aws_route_table.public-route-table[0].id
|
2022-10-06 15:20:42 +08:00
|
|
|
}
|