All Modules
AzureState

Terraform Backend

Azure Storage blob container for Terraform state management

Usage

module "azure_terraform_backend" {
  source = "github.com/fencepencil/fencepencil-azure-modules//azure-terraform-backend"

  name_prefix = "<name_prefix>"
  storage_account_name = "<storage_account_name>"

  tags = var.tags
}

Inputs (5)

NameTypeDescriptionDefaultRequired
name_prefixstringPrefix for the resource groupyes
locationstringAzure regioneastusno
storage_account_namestringGlobally unique storage account nameyes
container_namestringBlob container nametfstateno
tagsmap(string)Tags to apply to all resources{}no

Outputs (3)

NameDescription
resource_group_nameState resource group name
storage_account_nameStorage account name
container_nameBlob container name

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules