-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
49 lines (40 loc) · 1.06 KB
/
output.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
output "id" {
value = "${aws_vpc.vpc.id}"
description = "vpc id"
}
output "cidr_block" {
value = "${aws_vpc.vpc.cidr_block}"
description = "vpc cidr block"
}
output "db_route_tables" {
value = ["${aws_route_table.db.*.id}"]
description = "db route table ids"
}
output "db_subnets" {
value = ["${aws_subnet.db.*.id}"]
description = "db subnets id"
}
output "private_route_tables" {
value = ["${aws_route_table.private.*.id}"]
description = "private subnet route table ids"
}
output "private_subnets" {
value = ["${aws_subnet.private.*.id}"]
description = "private subnets id"
}
output "public_route_table" {
value = "${aws_route_table.public.id}"
descrtpion = "public route table id"
}
output "public_subnets" {
value = ["${aws_subnet.public.*.id}"]
description = "public subnets id"
}
output "nat_eips" {
value = ["${aws_eip.nat_eips.*.public_ip}"]
description = "nat eips"
}
output "igw_id" {
value = "${aws_internet_gateway.igw.id}"
description = "internet gateway id"
}