terraform.aws-baseline-infra/modules/networking/vpc_subnets/outputs.tf

19 lines
340 B
Terraform
Raw Normal View History

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
}
output public-subnet-ids {
value = aws_subnet.public-subnets.*.id
}
output private-subnet-ids {
value = aws_subnet.private-subnets.*.id
}