HashiCorp Terraform 003 state guide covering backends, locking, import, drift, and replacement decisions.
This chapter matters because Terraform is not only about writing configuration. It is also about keeping state trustworthy and handling drift, import, and intentional replacement safely.
| Lesson | Focus |
|---|---|
| 5.1 Backends, Locking, and Workspaces | Learn where state lives and how teams keep it safe. |
| 5.2 Import, Drift, Replace, and Repair | Learn how Terraform handles existing resources and change after reality diverges. |
| If the question is really about… | Go first to… |
|---|---|
| state location, collaboration, or workspaces | 5.1 Backends & Workspaces |
| existing resources, drift, or repair actions | 5.2 Import & Drift |