generated from getindata/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
102 lines (85 loc) · 3.03 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
output "resource_group_name" {
description = "The name of the resource group in which resources are created"
value = local.resource_group_name
}
output "resource_group_id" {
description = "The id of the resource group in which resources are created"
value = one(module.storage[*].resource_group_id)
}
output "resource_group_location" {
description = "The location of the resource group in which resources are created"
value = one(module.storage[*].resource_group_location)
}
output "storage_account_id" {
description = "The ID of the storage account"
value = local.storage_account_id
}
output "storage_account_name" {
description = "The name of the storage account"
value = local.storage_account_name
}
output "storage_account_primary_location" {
description = "The primary location of the storage account"
value = one(module.storage[*].storage_account_primary_location)
}
output "storage_account_primary_blob_endpoint" {
description = "The endpoint URL for blob storage in the primary location"
value = one(module.storage[*].storage_account_primary_blob_endpoint)
}
output "storage_account_primary_web_endpoint" {
description = "The endpoint URL for web storage in the primary location"
value = one(module.storage[*].storage_account_primary_web_endpoint)
}
output "storage_account_primary_web_host" {
description = "The hostname with port if applicable for web storage in the primary location"
value = one(module.storage[*].storage_account_primary_web_host)
}
output "storage_primary_connection_string" {
description = "The primary connection string for the storage account"
value = one(module.storage[*].storage_primary_connection_string)
sensitive = true
}
output "storage_primary_access_key" {
description = "The primary access key for the storage account"
value = one(module.storage[*].storage_primary_access_key)
sensitive = true
}
output "storage_secondary_access_key" {
description = "The primary access key for the storage account"
value = one(module.storage[*].storage_secondary_access_key)
sensitive = true
}
output "containers" {
description = "Map of containers"
value = one(module.storage[*].containers)
}
output "file_shares" {
description = "Map of Storage SMB file shares"
value = one(module.storage[*].file_shares)
}
output "tables" {
description = "Map of Storage SMB file shares"
value = one(module.storage[*].tables)
}
output "queues" {
description = "Map of Storage SMB file shares"
value = one(module.storage[*].queues)
}
output "local_users" {
description = "Map of created sftp users."
value = {
for user_name, user in azurerm_storage_account_local_user.this : user_name => {
id = user.id
name = user.name
}
}
}
output "local_users_credentials" {
description = "Map of created sftp users credentials."
value = {
for user_name, user in azurerm_storage_account_local_user.this : user_name => {
password = user.password
}
}
sensitive = true
}