Improve this page

Back to Terraform templates index <–

Terraform Remote State Storage

Setup a storage account on Azure and prep it for use as remote state storage by the AKS Sogeti community.

Template Locations

Online documentation

Template reference
Service description

Resource Description Automation
RemoteState RemoteState TerraformModule

Due to the nature of backend config, you will need to make note of the outputs of the module. These can later be used as the following example illustrates:

terraform{
  backend "azurerm" {
    storage_account_name = "demoremotestates"
    container_name       = "demo-remote-state-container"
    key                  = "mydemo/terraform.tfstate"
    resource_group_name  = "demo-remote-state-rg"
  }
}