Initial commit: add .gitignore and README
This commit is contained in:
34
terraform/modules/azure/storage/outputs.tf
Normal file
34
terraform/modules/azure/storage/outputs.tf
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user