This module manages storage for Terraform states and is usually used in the Terraform "state" module as a base for other modules' backend configuration.
Instantiate the module by calling it from Terraform like this:
module "state" {
source = "dodevops/state/azure"
version = "<version>"
}
The following requirements are needed by this module:
-
terraform (>=1.9.0)
-
azurerm (>=4.0.0)
The following providers are used by this module:
- azurerm (>=4.0.0)
No modules.
The following resources are used by this module:
- azurerm_storage_account.storage-account (resource)
- azurerm_storage_container.storage-container (resource)
The following input variables are required:
Description: The azure location used for azure
Type: string
Description: Three letter project key
Type: string
Description: Name of the resource group to use
Type: string
Description: Name of the stage for this state
Type: string
The following input variables are optional (have default values):
Description: Days until soft deleted resources are hard deleted
Type: number
Default: 7
Description: Map of tags for the resources
Type: map(any)
Default: {}
No outputs.
Use the terraform module tools to check and generate the documentation by running
docker run -v "$PWD":/terraform ghcr.io/dodevops/terraform-module-tools:latest