outputs.tf (56 lines of code) (raw):

output "containers" { description = "Map of storage containers that are created." value = { for name, container in azapi_resource.containers : name => { id = container.id } } } output "fqdn" { description = "Fqdns for storage services." value = { for svc in local.endpoints : svc => "${azurerm_storage_account.this.name}.${svc}.core.windows.net" } } output "name" { description = "The name of the storage account" value = azurerm_storage_account.this.name } output "private_endpoints" { description = "A map of private endpoints. The map key is the supplied input to var.private_endpoints. The map value is the entire azurerm_private_endpoint resource." value = azurerm_private_endpoint.this } output "queues" { description = "Map of storage queues that are created." value = { for name, queue in azapi_resource.queue : name => { id = queue.id } } } output "resource" { description = "This is the full resource output for the Storage Account resource." sensitive = true value = azurerm_storage_account.this } output "resource_id" { description = "The ID of the Storage Account." value = azurerm_storage_account.this.id } output "shares" { description = "Map of storage storage shares that are created." value = { for name, share in azapi_resource.share : name => { id = share.id } } } output "tables" { description = "Map of storage tables that are created." value = { for name, table in azapi_resource.table : name => { id = table.id storage_account_name = azurerm_storage_account.this.name } } }