-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
output.tf
82 lines (67 loc) · 2.98 KB
/
output.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
output "resource_group_name" {
description = "The name of the resource group in which resources are created"
value = element(coalescelist(data.azurerm_resource_group.rgrp.*.name, azurerm_resource_group.rg.*.name, [""]), 0)
}
output "resource_group_id" {
description = "The id of the resource group in which resources are created"
value = element(coalescelist(data.azurerm_resource_group.rgrp.*.id, azurerm_resource_group.rg.*.id, [""]), 0)
}
output "resource_group_location" {
description = "The location of the resource group in which resources are created"
value = element(coalescelist(data.azurerm_resource_group.rgrp.*.location, azurerm_resource_group.rg.*.location, [""]), 0)
}
output "storage_account_id" {
description = "The ID of the storage account."
value = azurerm_storage_account.storeacc.id
}
output "storage_account_name" {
description = "The name of the storage account."
value = azurerm_storage_account.storeacc.name
}
output "storage_account_primary_location" {
description = "The primary location of the storage account"
value = azurerm_storage_account.storeacc.primary_location
}
output "storage_account_primary_blob_endpoint" {
description = "The endpoint URL for blob storage in the primary location."
value = azurerm_storage_account.storeacc.primary_blob_endpoint
}
output "storage_account_primary_web_endpoint" {
description = "The endpoint URL for web storage in the primary location."
value = azurerm_storage_account.storeacc.primary_web_endpoint
}
output "storage_account_primary_web_host" {
description = "The hostname with port if applicable for web storage in the primary location."
value = azurerm_storage_account.storeacc.primary_web_host
}
output "storage_primary_connection_string" {
description = "The primary connection string for the storage account"
value = azurerm_storage_account.storeacc.primary_connection_string
sensitive = true
}
output "storage_primary_access_key" {
description = "The primary access key for the storage account"
value = azurerm_storage_account.storeacc.primary_access_key
sensitive = true
}
output "storage_secondary_access_key" {
description = "The primary access key for the storage account."
value = azurerm_storage_account.storeacc.secondary_access_key
sensitive = true
}
output "containers" {
description = "Map of containers."
value = { for c in azurerm_storage_container.container : c.name => c.id }
}
output "file_shares" {
description = "Map of Storage SMB file shares."
value = { for f in azurerm_storage_share.fileshare : f.name => f.id }
}
output "tables" {
description = "Map of Storage SMB file shares."
value = { for t in azurerm_storage_table.tables : t.name => t.id }
}
output "queues" {
description = "Map of Storage SMB file shares."
value = { for q in azurerm_storage_queue.queues : q.name => q.id }
}