forked from DNXLabs/terraform-aws-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_outputs.tf
53 lines (43 loc) · 1.3 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
output "vpc_id" {
value = "${aws_vpc.default.id}"
description = "ID for VPC created"
}
output "cidr_block" {
value = "${aws_vpc.default.cidr_block}"
description = "CIDR for VPC created"
}
output "internet_gateway_id" {
value = "${aws_internet_gateway.default.id}"
description = "ID of Internet Gateway created"
}
output "public_subnet_ids" {
value = ["${aws_subnet.public.*.id}"]
description = "List of public subnet IDs"
}
output "public_subnet_cidrs" {
value = ["${aws_subnet.public.*.cidr_block}"]
description = "List of public subnet CIDRs"
}
output "private_subnet_ids" {
value = ["${aws_subnet.private.*.id}"]
description = "List of private subnet IDs"
}
output "private_subnet_cidrs" {
value = ["${aws_subnet.private.*.cidr_block}"]
description = "List of private subnet CIDRs"
}
output "secure_subnet_ids" {
value = ["${aws_subnet.secure.*.id}"]
description = "List of secure subnet IDs"
}
output "secure_subnet_cidrs" {
value = ["${aws_subnet.secure.*.cidr_block}"]
description = "List of secure subnet CIDRs"
}
# output "nat_gateway_ids" {
# value = ["${aws_nat_gateway.nat_gw.*.id}"]
# description = "List of NAT Gateway IDs"
# }
output "db_subnet_group_id" {
value = "${aws_db_subnet_group.secure.id}"
}