-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
60 lines (57 loc) · 1.75 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
output "service_plan" {
description = "Outputs all attributes of resource_type."
value = {
for service_plan in keys(azurerm_service_plan.service_plan) :
service_plan => {
for key, value in azurerm_service_plan.service_plan[service_plan] :
key => value
}
}
}
output "linux_function_app" {
description = "Outputs all attributes of resource_type."
value = {
for linux_function_app in keys(azurerm_linux_function_app.linux_function_app) :
linux_function_app => {
for key, value in azurerm_linux_function_app.linux_function_app[linux_function_app] :
key => value
}
}
}
output "static_site" {
description = "Outputs all attributes of resource_type."
value = {
for static_site in keys(azurerm_static_site.static_site) :
static_site => {
for key, value in azurerm_static_site.static_site[static_site] :
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 = {
service_plan = {
for key in keys(var.service_plan) :
key => local.service_plan[key]
}
linux_function_app = {
for key in keys(var.linux_function_app) :
key => local.linux_function_app[key]
}
static_site = {
for key in keys(var.static_site) :
key => local.static_site[key]
}
}
local = {
linux_function_app_values = local.linux_function_app_values
linux_function_app_default = local.default.linux_function_app
}
}
}