ba7be7d8d9d8213cc465d22c3a3e1023ec0ea19b
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. Ifstorage_account_nameis 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 thestorage_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.
Languages
HCL
100%