29 November 2026
Terraform state explained: commands, import and moved blocks, S3 locking and HCP Terraform
Terraform state ties your code to the real objects it manages. The commands to inspect and change it, import, moved and removed blocks, an S3 backend with native locking (no DynamoDB), HCP Terraform, secrets in state, the edge cases and an FAQ.