-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
77 lines (73 loc) · 2.3 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
output "storage_account" {
description = "Outputs all attributes of resource_type."
value = {
for storage_account in keys(azurerm_storage_account.storage_account) :
storage_account => {
for key, value in azurerm_storage_account.storage_account[storage_account] :
key => value
}
}
}
output "storage_container" {
description = "Outputs all attributes of resource_type."
value = {
for storage_container in keys(azurerm_storage_container.storage_container) :
storage_container => {
for key, value in azurerm_storage_container.storage_container[storage_container] :
key => value
}
}
}
output "storage_share" {
description = "Outputs all attributes of resource_type."
value = {
for storage_share in keys(azurerm_storage_share.storage_share) :
storage_share => {
for key, value in azurerm_storage_share.storage_share[storage_share] :
key => value
}
}
}
output "storage_share_directory" {
description = "Outputs all attributes of resource_type."
value = {
for storage_share_directory in keys(azurerm_storage_share_directory.storage_share_directory) :
storage_share_directory => {
for key, value in azurerm_storage_share_directory.storage_share_directory[storage_share_directory] :
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 = {
storage_account = {
for key in keys(var.storage_account) :
key => local.storage_account[key]
}
storage_container = {
for key in keys(var.storage_container) :
key => local.storage_container[key]
}
storage_share = {
for key in keys(var.storage_share) :
key => local.storage_share[key]
}
storage_share_directory = {
for key in keys(var.storage_share_directory) :
key => local.storage_share_directory[key]
}
}
variable = {
storage_account = {
for key in keys(var.storage_account) :
key => var.storage_account[key]
}
}
}
}