35 lines
926 B
HCL
35 lines
926 B
HCL
# Azure Storage Module Outputs
|
|
|
|
output "storage_account_id" {
|
|
description = "Storage account ID"
|
|
value = azurerm_storage_account.main.id
|
|
}
|
|
|
|
output "storage_account_name" {
|
|
description = "Storage account name"
|
|
value = azurerm_storage_account.main.name
|
|
}
|
|
|
|
output "primary_connection_string" {
|
|
description = "Primary connection string (sensitive)"
|
|
value = azurerm_storage_account.main.primary_connection_string
|
|
sensitive = true
|
|
}
|
|
|
|
output "primary_access_key" {
|
|
description = "Primary access key (sensitive)"
|
|
value = azurerm_storage_account.main.primary_access_key
|
|
sensitive = true
|
|
}
|
|
|
|
output "primary_blob_endpoint" {
|
|
description = "Primary blob endpoint"
|
|
value = azurerm_storage_account.main.primary_blob_endpoint
|
|
}
|
|
|
|
output "container_names" {
|
|
description = "Map of container names"
|
|
value = { for k, v in azurerm_storage_container.containers : k => v.name }
|
|
}
|
|
|