-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
41 lines (39 loc) · 1.38 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
output "log_analytics_workspace" {
description = "Outputs all attributes of resource_type."
value = {
for log_analytics_workspace in keys(azurerm_log_analytics_workspace.log_analytics_workspace) :
log_analytics_workspace => {
for key, value in azurerm_log_analytics_workspace.log_analytics_workspace[log_analytics_workspace] :
key => value
}
}
}
output "log_analytics_solution" {
description = "Outputs all attributes of resource_type."
value = {
for log_analytics_solution in keys(azurerm_log_analytics_solution.log_analytics_solution) :
log_analytics_solution => {
for key, value in azurerm_log_analytics_solution.log_analytics_solution[log_analytics_solution] :
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 = {
log_analytics_workspace = {
for key in keys(var.log_analytics_workspace) :
key => local.log_analytics_workspace[key]
}
log_analytics_solution = {
for key in keys(var.log_analytics_solution) :
key => local.log_analytics_solution[key]
}
}
}
}