-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutputs.tf
51 lines (39 loc) · 1.68 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
output "public_subnets" {
value = "${join(",", compact(split(",", "${aws_cloudformation_stack.vpc.outputs["PublicSubnet1"]},${aws_cloudformation_stack.vpc.outputs["PublicSubnet2"]},${aws_cloudformation_stack.vpc.outputs["PublicSubnet3"]}")))}"
}
output "public_subnet_1" {
value = "${aws_cloudformation_stack.vpc.outputs["PublicSubnet1"]}"
}
output "public_subnet_2" {
value = "${aws_cloudformation_stack.vpc.outputs["PublicSubnet2"]}"
}
output "public_subnet_3" {
value = "${aws_cloudformation_stack.vpc.outputs["PublicSubnet3"]}"
}
output "private_subnets" {
value = "${join(",", compact(split(",", "${aws_cloudformation_stack.vpc.outputs["PrivateSubnet1"]},${aws_cloudformation_stack.vpc.outputs["PrivateSubnet2"]},${aws_cloudformation_stack.vpc.outputs["PrivateSubnet3"]}")))}"
}
output "private_subnet_1" {
value = "${aws_cloudformation_stack.vpc.outputs["PrivateSubnet1"]}"
}
output "private_subnet_2" {
value = "${aws_cloudformation_stack.vpc.outputs["PrivateSubnet2"]}"
}
output "private_subnet_3" {
value = "${aws_cloudformation_stack.vpc.outputs["PrivateSubnet3"]}"
}
output "spare_subnet_1" {
value = "${aws_cloudformation_stack.vpc.outputs["SpareSubnet1"]}"
}
output "spare_subnets" {
value = "${join(",", compact(split(",", "${aws_cloudformation_stack.vpc.outputs["SpareSubnet1"]},${aws_cloudformation_stack.vpc.outputs["SpareSubnet2"]},${aws_cloudformation_stack.vpc.outputs["SpareSubnet3"]}")))}"
}
output "spare_subnet_2" {
value = "${aws_cloudformation_stack.vpc.outputs["SpareSubnet2"]}"
}
output "spare_subnet_3" {
value = "${aws_cloudformation_stack.vpc.outputs["SpareSubnet3"]}"
}
output "vpc_id" {
value = "${aws_cloudformation_stack.vpc.outputs["VpcId"]}"
}