-
Notifications
You must be signed in to change notification settings - Fork 15
/
outputs.tf
45 lines (35 loc) · 1.05 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# VPC outputs
output "vpc_id" {
description = "The VPC ID"
value = module.vpc.vpc_id
}
output "internet_gateway_id" {
description = "The Internet Gateway ID"
value = module.vpc.internet_gateway_id
}
# Public subnet outputs
output "public_subnet_count" {
description = "The number of public subnets"
value = module.public_subnets.subnet_count
}
output "public_subnet_ids" {
description = "List of public subnet IDs"
value = module.public_subnets.subnet_ids
}
output "public_route_table_ids" {
description = "List of public route table IDs"
value = module.public_subnets.route_table_ids
}
# Private subnet outputs
output "private_subnet_count" {
description = "The number of private subnets"
value = module.private_subnets.subnet_count
}
output "private_subnet_ids" {
description = "List of private subnet IDs"
value = module.private_subnets.subnet_ids
}
output "private_route_table_ids" {
description = "List of private route table IDs"
value = module.private_subnets.route_table_ids
}