skip to content
Alvin Lucillo

Migrated state name

/ 1 min read

💻 Tech

Once you’re migrated your Terraform state files from multiple workspaces to Azure Blob Storage with terraform init -migrate-state, the name would be key+"env:"+workspace_name where key is the key that you set up in your backend "azurerm" configuration and workspace_name is the name of the Terraform workspace. For example, if the key is tfstate and you have workspaces development, staging, and production, you will see tfstateenv:development inside the Blob Container, which you specified in your Terraform config.