Related Content

Terraform Force-Unlock: How to Safely Unlock a Locked State File

Terraform Force-Unlock: How to Safely Unlock a Locked State File

Terraform force-unlock releases a stuck state lock so deployments can proceed. This guide covers how the command works, where to find the lock ID on every major backend, and when force-unlock is the wrong tool for the job.
Terraform Strings: Interpolation, Heredoc & Built-In Functions

Terraform Strings: Interpolation, Heredoc & Built-In Functions

A complete guide to Terraform strings: quoted and heredoc syntax, ${} interpolation, %{} conditional and loop directives, and the built-in functions for string manipulation.
How to Migrate Terraform State Between Backends

How to Migrate Terraform State Between Backends

Migrating Terraform state doesn't have to be scary. This guide covers the core methods — -migrate-state vs. -reconfigure, manual state pull/push, and Terragrunt's backend commands — with worked examples for S3, Azure, and reverse migrations. It also covers the env zero-specific paths: the Migration Wizard for teams leaving Terraform Cloud or Enterprise, the manual workspace-by-workspace method, and how to move state in or out of env zero's own remote backend.