-
Notifications
You must be signed in to change notification settings - Fork 15
/
outputs.tf
59 lines (48 loc) · 1.46 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
output "vpc_id" {
description = "The ID of the created VPC."
value = aws_vpc.base.id
}
output "vpc_cidr" {
description = "The CIDR of the created VPC."
value = aws_vpc.base.cidr_block
}
output "availability_zones" {
description = "The availability zones in which subnets were created."
value = var.availability_zones
}
output "number_of_availability_zones" {
description = "The number of populated availability zones available."
value = length(var.availability_zones)
}
output "public_subnet_ids" {
description = "The IDs of the public subnets."
value = aws_subnet.public.*.id
}
output "public_subnet_cidr_blocks" {
description = "The CIDRs of the public subnets."
value = aws_subnet.public.*.cidr_block
}
output "public_route_table_ids" {
description = "The IDs of the public route tables."
value = aws_route_table.public.*.id
}
output "private_subnet_ids" {
description = "The IDs of the private subnets."
value = aws_subnet.private.*.id
}
output "private_subnet_cidr_blocks" {
description = "The CIDRs of the private subnets."
value = aws_subnet.private.*.cidr_block
}
output "private_route_table_ids" {
description = "The IDs of the private route tables."
value = aws_route_table.private.*.id
}
output "nat_public_ips" {
description = "The EIPs attached to the NAT gateways."
value = aws_eip.nat.*.public_ip
}
output "internet_gateway_id" {
description = "The ID of IGW attached to the VPC."
value = aws_internet_gateway.base_igw.id
}