-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
124 lines (101 loc) · 3.24 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// VPC
output "vpc_id" {
value = "${alicloud_vpc.vpc.id}"
description = "VPC id"
}
output "vpc_name" {
value = "${alicloud_vpc.vpc.name}"
description = "VPC name"
}
output "vpc_description" {
value = "${alicloud_vpc.vpc.description}"
description = "VPC description"
}
// NAT Gateway
output "nat_gateway_id" {
value = "${alicloud_nat_gateway.nat_gateway.id}"
description = "NAT gateway id"
}
output "nat_gateway_name" {
value = "${alicloud_nat_gateway.nat_gateway.name}"
description = "NAT gateway name"
}
output "nat_gateway_ip" {
value = "${alicloud_eip.nat_gateway_eip.ip_address}"
description = "NAT gateway EIP"
}
// VSwitches (App)
output "app_vswitch_az_a_id" {
value = "${alicloud_vswitch.app_vswitch_az_a.id}"
description = "APP VSwitch AZ first id"
}
output "app_vswitch_az_a_name" {
value = "${alicloud_vswitch.app_vswitch_az_a.name}"
description = "APP VSwitch AZ first name"
}
output "app_vswitch_az_a_cidr_block" {
value = "${alicloud_vswitch.app_vswitch_az_a.cidr_block}"
description = "APP VSwitch AZ first cidr range"
}
output "app_vswitch_az_b_id" {
value = "${alicloud_vswitch.app_vswitch_az_b.id}"
description = "APP VSwitch AZ second id"
}
output "app_vswitch_az_b_name" {
value = "${alicloud_vswitch.app_vswitch_az_b.name}"
description = "APP VSwitch AZ second name"
}
output "app_vswitch_az_b_cidr_block" {
value = "${alicloud_vswitch.app_vswitch_az_b.cidr_block}"
description = "APP VSwitch AZ second cidr range"
}
output "app_route_table_id" {
value = "${alicloud_route_table.app_route_table.id}"
description = "APP VSwitch route table id"
}
// VSwitches (DB)
output "db_vswitch_az_a_id" {
value = "${alicloud_vswitch.db_vswitch_az_a.id}"
description = "DB VSwitch AZ first id"
}
output "db_vswitch_az_a_name" {
value = "${alicloud_vswitch.db_vswitch_az_a.name}"
description = "DB VSwitch AZ first name"
}
output "db_vswitch_az_a_cidr_block" {
value = "${alicloud_vswitch.db_vswitch_az_a.cidr_block}"
description = "DB VSwitch AZ first cidr range"
}
output "db_vswitch_az_b_id" {
value = "${alicloud_vswitch.db_vswitch_az_b.id}"
description = "DB VSwitch AZ second id"
}
output "db_vswitch_az_b_name" {
value = "${alicloud_vswitch.db_vswitch_az_b.name}"
description = "DB VSwitch AZ second name"
}
output "db_vswitch_az_b_cidr_block" {
value = "${alicloud_vswitch.db_vswitch_az_b.cidr_block}"
description = "DB VSwitch AZ second cidr range"
}
output "db_route_table_id" {
value = "${alicloud_route_table.db_route_table.id}"
description = "DB VSwitch route table id"
}
// VSwitch (Misc)
output "misc_vswitch_az_a_id" {
value = "${alicloud_vswitch.misc_vswitch_az_a.id}"
description = "Misc VSwitch AZ first id"
}
output "misc_vswitch_az_a_name" {
value = "${alicloud_vswitch.misc_vswitch_az_a.name}"
description = "Misc VSwitch AZ first name"
}
output "misc_vswitch_az_a_cidr_block" {
value = "${alicloud_vswitch.misc_vswitch_az_a.cidr_block}"
description = "Misc VSwitch AZ first cidr range"
}
output "misc_route_table_id" {
value = "${alicloud_route_table.misc_route_table.id}"
description = "Misc VSwitch route table id"
}