forked from Azure/terraform-azurerm-caf-enterprise-scale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
262 lines (235 loc) · 9.4 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
# The following output is used to ensure all Management Group
# data is returned to the root module.
output "azurerm_management_group" {
value = {
level_1 = azurerm_management_group.level_1
level_2 = azurerm_management_group.level_2
level_3 = azurerm_management_group.level_3
level_4 = azurerm_management_group.level_4
level_5 = azurerm_management_group.level_5
level_6 = azurerm_management_group.level_6
}
description = "Returns the configuration data for all Management Groups created by this module."
}
# The following output is used to ensure all Management Group
# Subscription Association data is returned to the root module.
output "azurerm_management_group_subscription_association" {
value = {
enterprise_scale = azurerm_management_group_subscription_association.enterprise_scale
}
description = "Returns the configuration data for all Management Group Subscription Associations created by this module."
}
# The following output is used to ensure all Policy
# Definition data is returned to the root module.
output "azurerm_policy_definition" {
value = {
enterprise_scale = azurerm_policy_definition.enterprise_scale
}
description = "Returns the configuration data for all Policy Definitions created by this module."
}
# The following output is used to ensure all Policy Set
# Definition data is returned to the root module.
output "azurerm_policy_set_definition" {
value = {
enterprise_scale = azurerm_policy_set_definition.enterprise_scale
}
description = "Returns the configuration data for all Policy Set Definitions created by this module."
}
# The following output is used to ensure all Policy
# Assignment data is returned to the root module.
output "azurerm_management_group_policy_assignment" {
value = {
enterprise_scale = azurerm_management_group_policy_assignment.enterprise_scale
}
description = "Returns the configuration data for all Management Group Policy Assignments created by this module."
}
# The following output is used to ensure all Role
# Definition data is returned to the root module.
output "azurerm_role_definition" {
value = {
enterprise_scale = azurerm_role_definition.enterprise_scale
}
description = "Returns the configuration data for all Role Definitions created by this module."
}
# The following output is used to ensure all Role
# Assignment data is returned to the root module.
output "azurerm_role_assignment" {
value = {
enterprise_scale = azurerm_role_assignment.enterprise_scale
policy_assignment = local.role_assignments_for_policy_output
}
description = "Returns the configuration data for all Role Assignments created by this module."
}
# The following output is used to ensure all Resource
# Group data is returned to the root module.
output "azurerm_resource_group" {
value = {
management = azurerm_resource_group.management
connectivity = azurerm_resource_group.connectivity
virtual_wan = azurerm_resource_group.virtual_wan
}
description = "Returns the configuration data for all Resource Groups created by this module."
}
# The following output is used to ensure all Log Analytics
# Workspace data is returned to the root module.
# Includes logic to remove sensitive values.
output "azurerm_log_analytics_workspace" {
value = {
management = azurerm_log_analytics_workspace.management
}
description = "Returns the configuration data for all Log Analytics workspaces created by this module."
}
# The following output is used to ensure all Log Analytics
# Solution data is returned to the root module.
output "azurerm_log_analytics_solution" {
value = {
management = azurerm_log_analytics_solution.management
}
description = "Returns the configuration data for all Log Analytics solutions created by this module."
}
# The following output is used to ensure all Automation
# Account data is returned to the root module.
output "azurerm_automation_account" {
value = {
management = azurerm_automation_account.management
}
description = "Returns the configuration data for all Automation Accounts created by this module."
}
# The following output is used to ensure all Log Analytics
# Linked Service data is returned to the root module.
output "azurerm_log_analytics_linked_service" {
value = {
management = azurerm_log_analytics_linked_service.management
}
description = "Returns the configuration data for all Log Analytics linked services created by this module."
}
# The following output is used to ensure all Virtual Network
# data is returned to the root module.
output "azurerm_virtual_network" {
value = {
connectivity = azurerm_virtual_network.connectivity
}
description = "Returns the configuration data for all Virtual Networks created by this module."
}
# The following output is used to ensure all Subnets
# data is returned to the root module.
output "azurerm_subnet" {
value = {
connectivity = azurerm_subnet.connectivity
}
description = "Returns the configuration data for all Subnets created by this module."
}
# The following output is used to ensure all DDoS Protection Plan
# data is returned to the root module.
output "azurerm_network_ddos_protection_plan" {
value = {
connectivity = azurerm_network_ddos_protection_plan.connectivity
}
description = "Returns the configuration data for all DDoS Protection Plans created by this module."
}
# The following output is used to ensure all Public IP
# data is returned to the root module.
output "azurerm_public_ip" {
value = {
connectivity = azurerm_public_ip.connectivity
}
description = "Returns the configuration data for all Public IPs created by this module."
}
# The following output is used to ensure all Virtual Network Gateway
# data is returned to the root module.
output "azurerm_virtual_network_gateway" {
value = {
connectivity = azurerm_virtual_network_gateway.connectivity
}
description = "Returns the configuration data for all Virtual Network Gateways created by this module."
}
# The following output is used to ensure all Azure Firewall
# Policy data is returned to the root module.
output "azurerm_firewall_policy" {
value = {
connectivity = azurerm_firewall_policy.connectivity
virtual_wan = azurerm_firewall_policy.virtual_wan
}
description = "Returns the configuration data for all Azure Firewall Policies created by this module."
}
# The following output is used to ensure all Azure Firewall
# data is returned to the root module.
output "azurerm_firewall" {
value = {
connectivity = azurerm_firewall.connectivity
virtual_wan = azurerm_firewall.virtual_wan
}
description = "Returns the configuration data for all Azure Firewalls created by this module."
}
# The following output is used to ensure all Private DNS Zone
# data is returned to the root module.
output "azurerm_private_dns_zone" {
value = {
connectivity = azurerm_private_dns_zone.connectivity
}
description = "Returns the configuration data for all Private DNS Zones created by this module."
}
# The following output is used to ensure all DNS Zone
# data is returned to the root module.
output "azurerm_dns_zone" {
value = {
connectivity = azurerm_dns_zone.connectivity
}
description = "Returns the configuration data for all DNS Zones created by this module."
}
# The following output is used to ensure all Private DNS Zone network link
# data is returned to the root module.
output "azurerm_private_dns_zone_virtual_network_link" {
value = {
connectivity = azurerm_private_dns_zone_virtual_network_link.connectivity
}
description = "Returns the configuration data for all Private DNS Zone network links created by this module."
}
# The following output is used to ensure all Virtual Network Peering
# data is returned to the root module.
output "azurerm_virtual_network_peering" {
value = {
connectivity = azurerm_virtual_network_peering.connectivity
}
description = "Returns the configuration data for all Virtual Network Peerings created by this module."
}
# The following output is used to ensure all Virtual WAN
# data is returned to the root module.
output "azurerm_virtual_wan" {
value = {
virtual_wan = azurerm_virtual_wan.virtual_wan
}
description = "Returns the configuration data for all Virtual WANs created by this module."
}
# The following output is used to ensure all Virtual Hub
# data is returned to the root module.
output "azurerm_virtual_hub" {
value = {
virtual_wan = azurerm_virtual_hub.virtual_wan
}
description = "Returns the configuration data for all Virtual Hubs created by this module."
}
# The following output is used to ensure all ExpressRoute
# Gateway data is returned to the root module.
output "azurerm_express_route_gateway" {
value = {
virtual_wan = azurerm_express_route_gateway.virtual_wan
}
description = "Returns the configuration data for all (Virtual WAN) ExpressRoute Gateways created by this module."
}
# The following output is used to ensure all VPN
# Gateway data is returned to the root module.
output "azurerm_vpn_gateway" {
value = {
virtual_wan = azurerm_vpn_gateway.virtual_wan
}
description = "Returns the configuration data for all (Virtual WAN) VPN Gateways created by this module."
}
# The following output is used to ensure all ExpressRoute
# Gateway data is returned to the root module.
output "azurerm_virtual_hub_connection" {
value = {
virtual_wan = azurerm_virtual_hub_connection.virtual_wan
}
description = "Returns the configuration data for all Virtual Hub Connections created by this module."
}