state-management
Browse all articles, tutorials, and guides about state-management
Posts
OpenTofu 1.12: destroy = false Retires the tofu state rm Ritual
OpenTofu 1.12 lets a resource declare that it should be forgotten instead of destroyed, makes prevent_destroy dynamic, and quietly ends the manual providers lock step. Here is what each change does, plus the footguns the release notes will not warn you about.
OpenTofu in 2026: Should You Switch from Terraform (and What It Actually Costs You)
OpenTofu has matured into a real Terraform alternative in 2026. Here is what the fork gives you, why the migration is easier than you think, and where the actual lock-in hides.
How to Store Terraform Azure State File in a Different Subscription
Learn how to configure Terraform to store its state file in an Azure Storage Account that exists in a different subscription from your infrastructure resources.
What Does Terraform Refresh Really Do?
What `terraform refresh` actually does, how it updates the state file without changing real resources, and where it still fits in modern Terraform workflows.
How to Fix "Error acquiring the state lock: ConditionalCheckFailedException"
Learn how to diagnose and fix Terraform state lock errors that prevent your infrastructure deployments from running.
Terraform Statefile is Locked: How to Unlock It
Learn how to unlock a locked Terraform statefile using the `force-unlock` command and best practices to avoid future locks.