This module manages Azure storage
Instantiate the module by calling it from Terraform like this:
module "storage" {
source = "dodevops/storage/azure"
version = "<version>"
}
No requirements.
The following providers are used by this module:
- azurerm
No modules.
The following resources are used by this module:
- azurerm_storage_account.account (resource)
- azurerm_storage_blob.blob (resource)
- azurerm_storage_container.additional_container (resource)
- azurerm_storage_container.container (resource)
The following input variables are required:
Description: Azure location to use
Type: string
Description: Three letter project key
Type: string
Description: Azure Resource Group to use
Type: string
Description: Stage for this ip
Type: string
The following input variables are optional (have default values):
Description: Additional containers to create:
- suffix: Suffix to add to the container name
- access_type: Maps to container_access_type
Type:
list(object({
suffix = string,
access_type = string
}))
Default: []
Description: Allow public access of the storage account, for example for a static website - will create $web storage container
Type: bool
Default: false
Description: Replication Type to use (LRS, GRS, RAGRS, ZRS)
Type: string
Default: "LRS"
Description: Error document for code 404 if public access is allowed, example: 404.html
Type: string
Default: ""
Description: Index document if public access is allowed, example: index.html
Type: string
Default: ""
Description: Additional name suffix
Type: string
Default: ""
Description: Account tier to use (Standard/Premium)
Type: string
Default: "Standard"
The following outputs are exported:
Description: n/a
Description: n/a
Description: n/a
Description: n/a
Description: n/a
Description: n/a
Use terraform-docs to generate the API documentation by running
terraform fmt .
terraform-docs .