mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-28 16:06:28 +00:00
43 lines
1005 B
Terraform
43 lines
1005 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
|
||
|
}
|
||
|
|
||
|
output "elasticache_subnets" {
|
||
|
description = "List of IDs of elasticache subnets"
|
||
|
value = module.vpc.elasticache_subnets
|
||
|
}
|
||
|
|
||
|
output "redshift_subnets" {
|
||
|
description = "List of IDs of redshift subnets"
|
||
|
value = module.vpc.redshift_subnets
|
||
|
}
|
||
|
|
||
|
output "intra_subnets" {
|
||
|
description = "List of IDs of intra subnets"
|
||
|
value = module.vpc.intra_subnets
|
||
|
}
|
||
|
|
||
|
# NAT Gateway
|
||
|
output "nat_public_ips" {
|
||
|
description = "List of public Elastic IPs created for AWS NAT Gateway"
|
||
|
value = module.vpc.nat_public_ips
|
||
|
}
|