» Data Source: azurerm_storage_account

Gets information about the specified Storage Account.

» Example Usage

data "azurerm_storage_account" "test" {
  name                 = "packerimages"
  resource_group_name  = "packer-storage"
}

output "storage_account_tier" {
  value = "${data.azurerm_storage_account.test.account_tier}"
}

» Argument Reference

  • name - (Required) Specifies the name of the Storage Account
  • resource_group_name - (Required) Specifies the name of the resource group the Storage Account is located in.

» Attributes Reference


  • custom_domain supports the following:

  • name - The Custom Domain Name used for the Storage Account.