Skip to content

storage_account/container

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurerm_storage_container.stg["azurerm_storage_container.stg"] module.blob["module.blob"] module.blob --> azurerm_storage_container.stg

Module Reference

Category: storage_account
Path: modules/storage_account/container
Azure Resources: azurerm_storage_container

Inputs

Name Description Type Required Default Validation
"settings" "The settings for the Azure resource." any yes - -
"var_folder_path" "The path to the folder containing the variables file." string yes - -
"storage_account_name" "The name of the Storage Account." string no - -
"storage_account_id" "The ID of the Storage Account." string no - -

Outputs

Name Description Sensitive Value
"blobs" "Exports the content of the blob module." - module.blob
"name" "The ID of the Storage Container." - azurerm_storage_container.stg.name
"id" "The Resource Manager ID of this Storage Container. Used by role_mapping" - azurerm_storage_container.stg.id
"url" "The Resource Manager ID (URL) of this Storage Container." - azurerm_storage_container.stg.id
"has_immutability_policy" "Is there an Immutability Policy configured on this Storage Container?" - azurerm_storage_container.stg.has_immutability_policy
"has_legal_hold" "Is there a Legal Hold configured on this Storage Container?" - azurerm_storage_container.stg.has_legal_hold

Sources

  • modules/storage_account/container/container.tf
  • modules/storage_account/container/outputs.tf
  • modules/storage_account/container/storage_blob.tf
  • modules/storage_account/container/variables.tf