-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
48 lines (38 loc) · 960 Bytes
/
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
46
47
48
output "vpc_id" {
value = local.vpc_id
}
# output "vpc_cidr_block" {
# value = local.vpc_cidr_block
# }
output "private_subnets" {
depends_on = [ aws_subnet.private_subnet ]
value = local.private_subnets
}
output "vpc_cidr" {
value = var.vpc_cidr
}
output "public_subnets" {
depends_on = [ aws_subnet.public_subnet ]
value = local.public_subnets
}
output "public_subnets_cidr_blocks" {
depends_on = [ aws_subnet.public_subnet ]
value = local.public_subnets_cidr_blocks
}
# output "vpc_main_route_table_id" {
# value = local.vpc_main_route_table_id
# }
output "public_route_table_ids" {
value = local.public_route_table_ids
}
output "private_route_table_ids" {
value = local.private_route_table_ids
}
output "vpc_tags" {
depends_on = [ aws_vpc.primary, aws_subnet.private_subnet ]
value = local.vpc_tags
}
output "subnet_names" {
depends_on = [ aws_vpc.primary, aws_subnet.private_subnet ]
value = local.subnet_names
}