OpenTofu v1.12.12 - Local Backend State Fix After Crashed Applies
OpenTofu v1.12.12 shipped on November 5, 2026. It is a small patch release with one bug fix: the local backend could fail to persist state when the first apply crashed. If you run state locally, this release is worth picking up.
The full release notes and downloads are on the GitHub release page.
The local backend crash fix
The single fix in v1.12.12 addresses state persistence in the local backend. Previously, if the first apply crashed, OpenTofu could leave the state file on disk in a bad spot. The state file is the source of truth for everything OpenTofu manages, so a bad write there is worse than it sounds: a later run might not see the resources the crashed apply actually created.
The fix landed in PR #4811. The release notes keep it short, so the practical advice is simple: patch to v1.12.12 if you use the local backend, and consider moving state to a remote backend like S3 if you have not yet. A remote backend does not make applies crash proof, but it removes the single file on disk as the only copy.
What is not in this release
No breaking changes, no deprecations, no new features. There are no upgrade notes this time. This is a drop in patch release on top of v1.12.11; you can bump the version and move on.
For a wider view of what the OpenTofu team has been shipping lately, the v1.13.8 line carries separate fixes, but that is outside this release. This post is only about v1.12.12.
Where to get it
- Release page: v1.12.12 release notes and downloads
- Project repo: opentofu/opentofu
- Tag:
v1.12.12