28 lines
631 B
Terraform
28 lines
631 B
Terraform
|
# VPC
|
||
|
output "vpc_id" {
|
||
|
description = "The ID of the VPC"
|
||
|
value = module.vpc.vpc_id
|
||
|
}
|
||
|
|
||
|
# Subnets
|
||
|
output "private_subnets" {
|
||
|
description = "List of IDs of private subnets"
|
||
|
value = module.vpc.private_subnets
|
||
|
}
|
||
|
|
||
|
output "public_subnets" {
|
||
|
description = "List of IDs of public subnets"
|
||
|
value = module.vpc.public_subnets
|
||
|
}
|
||
|
|
||
|
output "database_subnets" {
|
||
|
description = "List of IDs of database subnets"
|
||
|
value = module.vpc.database_subnets
|
||
|
}
|
||
|
|
||
|
# NAT gateways
|
||
|
output "nat_public_ips" {
|
||
|
description = "List of public Elastic IPs created for AWS NAT Gateway"
|
||
|
value = module.vpc.nat_public_ips
|
||
|
}
|