-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutputs.tf
48 lines (48 loc) · 1.84 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
output "AZs" {
value = "${var.AZs}"
description = "azs used in the VPC"
}
output "vpc_id" {
value = "${aws_vpc.default.id}"
description = "vpc id"
}
output "vpc_name" {
value = "${var.name}"
description = "vpc name"
}
output "nat_ids" {
value = "${join(",", aws_nat_gateway.default.*.id) }"
description = "nat gw ids"
}
output "nat_private_ips" {
value = "${join(",", aws_nat_gateway.default.*.private_ip) }"
description = "nat gw private ip"
}
output "nat_public_ips" {
value = "${join(",", aws_nat_gateway.default.*.public_ip) }"
description = "nat gw public ip"
}
output "subnets_private_ids" {
value = "${join(",", aws_subnet.private.*.id) }"
description = "private subnet ids"
}
output "subnets_private_cidr_block" {
value = "${join(",", aws_subnet.private.*.cidr_block) }"
description = "private cidr block"
}
output "subnets_public_ids" {
value = "${join(",", aws_subnet.public.*.id) }"
description = "Public subnet ids"
}
output "subnets_public_cidr_block" {
value = "${join(",", aws_subnet.public.*.cidr_block) }"
description = "public cidr block"
}
output "rtb_private_ids" {
value = "${join(",", aws_route_table.private.*.id) }"
description = "routing table private ids."
}
output "rtb_public_ids" {
value = "${join(",", aws_route_table.public.*.id) }"
description = "routing table public ids"
}