-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
191 lines (179 loc) · 6.46 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
output "virtual_network" {
description = "Outputs all attributes of resource_type."
value = {
for virtual_network in keys(azurerm_virtual_network.virtual_network) :
virtual_network => {
for key, value in azurerm_virtual_network.virtual_network[virtual_network] :
key => value
}
}
}
output "subnet" {
description = "Outputs all attributes of resource_type."
value = {
for subnet in keys(azurerm_subnet.subnet) :
subnet => {
for key, value in azurerm_subnet.subnet[subnet] :
key => value
}
}
}
output "public_ip" {
description = "Outputs all attributes of resource_type."
value = {
for public_ip in keys(azurerm_public_ip.public_ip) :
public_ip => {
for key, value in azurerm_public_ip.public_ip[public_ip] :
key => value
}
}
}
output "network_interface" {
description = "Outputs all attributes of resource_type."
value = {
for network_interface in keys(azurerm_network_interface.network_interface) :
network_interface => {
for key, value in azurerm_network_interface.network_interface[network_interface] :
key => value
}
}
}
output "network_security_group" {
description = "Outputs all attributes of resource_type."
value = {
for network_security_group in keys(azurerm_network_security_group.network_security_group) :
network_security_group => {
for key, value in azurerm_network_security_group.network_security_group[network_security_group] :
key => value
}
}
}
output "subnet_network_security_group_association" {
description = "Outputs all attributes of resource_type."
value = {
for subnet_network_security_group_association in keys(azurerm_subnet_network_security_group_association.subnet_network_security_group_association) :
subnet_network_security_group_association => {
for key, value in azurerm_subnet_network_security_group_association.subnet_network_security_group_association[subnet_network_security_group_association] :
key => value
}
}
}
output "network_interface_security_group_association" {
description = "Outputs all attributes of resource_type."
value = {
for network_interface_security_group_association in keys(azurerm_network_interface_security_group_association.network_interface_security_group_association) :
network_interface_security_group_association => {
for key, value in azurerm_network_interface_security_group_association.network_interface_security_group_association[network_interface_security_group_association] :
key => value
}
}
}
output "local_network_gateway" {
description = "Outputs all attributes of resource_type."
value = {
for local_network_gateway in keys(azurerm_local_network_gateway.local_network_gateway) :
local_network_gateway => {
for key, value in azurerm_local_network_gateway.local_network_gateway[local_network_gateway] :
key => value
}
}
}
output "virtual_network_gateway" {
description = "Outputs all attributes of resource_type."
value = {
for virtual_network_gateway in keys(azurerm_virtual_network_gateway.virtual_network_gateway) :
virtual_network_gateway => {
for key, value in azurerm_virtual_network_gateway.virtual_network_gateway[virtual_network_gateway] :
key => value
}
}
}
output "private_endpoint" {
description = "Outputs all attributes of resource_type."
value = {
for private_endpoint in keys(azurerm_private_endpoint.private_endpoint) :
private_endpoint => {
for key, value in azurerm_private_endpoint.private_endpoint[private_endpoint] :
key => value
}
}
}
output "virtual_network_gateway_connection" {
description = "Outputs all attributes of resource_type."
value = {
for virtual_network_gateway_connection in keys(azurerm_virtual_network_gateway_connection.virtual_network_gateway_connection) :
virtual_network_gateway_connection => {
for key, value in azurerm_virtual_network_gateway_connection.virtual_network_gateway_connection[virtual_network_gateway_connection] :
key => value
}
}
}
output "virtual_network_peering" {
description = "Outputs all attributes of resource_type."
value = {
for virtual_network_peering in keys(azurerm_virtual_network_peering.virtual_network_peering) :
virtual_network_peering => {
for key, value in azurerm_virtual_network_peering.virtual_network_peering[virtual_network_peering] :
key => value
}
}
}
output "variables" {
description = "Displays all configurable variables passed by the module. __default__ = predefined values per module. __merged__ = result of merging the default values and custom values passed to the module"
value = {
default = {
for variable in keys(local.default) :
variable => local.default[variable]
}
merged = {
virtual_network = {
for key in keys(var.virtual_network) :
key => local.virtual_network[key]
}
subnet = {
for key in keys(var.subnet) :
key => local.subnet[key]
}
public_ip = {
for key in keys(var.public_ip) :
key => local.public_ip[key]
}
network_interface = {
for key in keys(var.network_interface) :
key => local.network_interface[key]
}
network_security_group = {
for key in keys(var.network_security_group) :
key => local.network_security_group[key]
}
subnet_network_security_group_association = {
for key in keys(var.subnet_network_security_group_association) :
key => local.subnet_network_security_group_association[key]
}
network_interface_security_group_association = {
for key in keys(var.network_interface_security_group_association) :
key => local.network_interface_security_group_association[key]
}
local_network_gateway = {
for key in keys(var.local_network_gateway) :
key => local.local_network_gateway[key]
}
virtual_network_gateway = {
for key in keys(var.virtual_network_gateway) :
key => local.virtual_network_gateway[key]
}
private_endpoint = {
for key in keys(var.private_endpoint) :
key => local.private_endpoint[key]
}
virtual_network_gateway_connection = {
for key in keys(var.virtual_network_gateway_connection) :
key => local.virtual_network_gateway_connection[key]
}
virtual_network_peering = {
for key in keys(var.virtual_network_peering) :
key => local.virtual_network_peering[key]
}
}
}
}