Azure / terraform-azurerm-avm-res-storage-storageaccount

This Terraform module is designed to create Azure Storage Accounts and its related resources, including blob containers, queues, tables, and file shares. It also supports the creation of a storage account private endpoint which provides secure and direct connectivity to Azure Storage over a private network.
https://registry.terraform.io/modules/Azure/avm-res-storage-storageaccount
MIT License
22 stars 36 forks source link

Output for resource.azurerm_storage_share.this missing #94

Closed mathiasjespers closed 5 months ago

mathiasjespers commented 6 months ago

Is there an existing issue for this?

Description

The resource.azurerm_storage_share.this does not get outputted in the module. This is weird considering both tables and queues do get outputted.

New or Affected Resource(s)/Data Source(s)

resource "azurerm_storage_share" "this"

Potential Terraform Configuration

output "shares" {
  description = "Map of storage shares that are created."
  value = {
    for name, share in azurerm_storage_share.this :
    name => {
      id                   = share.id
      name                 = share.name
      storage_account_name = share.storage_account_name
      access_tier          = share.access_tier
      enabled_protocol     = share.enabled_protocol
      metadata             = share.metadata
    }
  }
}

References

No response

chinthakaru commented 5 months ago

Module has been updated with PR #108.

microsoft-github-policy-service[bot] commented 5 months ago

[!NOTE] The "Status: In PR :point_right:" label was removed as per ITA23.