Files
terraform-azurerm-storage-a…/README.md
2026-02-20 08:18:05 +01:00

1.3 KiB

Azure Storage Account Module

This module creates an Azure Storage Account with the specified name, resource group, and location. It also allows for the creation of storage containers within the account.

Variables

  • rg_name: The name of the resource group where the storage account will be created.
  • location: The Azure region where the storage account will be created.
  • storage_account_base_name: A base name for the storage account. If storage_account_name is not provided, the module will generate a unique name using this base name and a hash of the subscription ID, resource group name, and base name.
  • storage_account_name: The name of the storage account. If not provided, it will be generated based on the storage_account_base_name.
  • containers: A map of storage containers to be created within the storage account. Each container is defined as an object with the following properties:
    • name: The name of the storage container.
    • container_access_type: The access level of the container (e.g., "private", "blob", "container").

Outputs

  • storage_account_id: The ID of the created storage account.
  • storage_account_name: The name of the created storage account.
  • container_names: A list of the names of the created storage containers.