OpenTofu major version upgrade: what changes

Upgrading OpenTofu means checking which patch lines are current, following the documented backup, install, verify and test steps, and confirming what the release notes say about breaking changes. Confirm the current release and end-of-life dates on the OpenTofu releases page before you schedule the work.

On this page

How an OpenTofu major version upgrade starts: the current 1.x lines

A team moving to a newer OpenTofu release should first establish which 1.x lines still receive fixes. As of December 2026, the latest release on the GitHub releases page is v1.13.11 (30 November), and v1.12.13 was released the same day, so two minor lines receive patches. Confirm the current release on the OpenTofu releases page before choosing a target, because blog posts and older internal runbooks may name a version that has since been superseded. Do not treat this summary as the end-of-life schedule. Ask the project for the support window of each line, and record which line your environment runs today. If that line is not one of the patched two, the upgrade becomes urgent and the choice of target narrows.

The upgrade itself follows the four-step process on the OpenTofu migration page: back up state and code, install OpenTofu, initialize and verify the configuration, and test with a small change. Treat each step as a gate. Back up state files, including any remote backend copies and the key material for state encryption if you use it, before you install anything, so a rollback has a known starting point. The migration page says OpenTofu aims to stay compatible with Terraform configurations. That aim describes the configurations in use today, and the FAQ does not guarantee compatibility with future Terraform releases. Plan a separate check for any configuration that shares data through terraform_remote_state, since the migration page points to its own guide for that case.

Use the small test to decide when production moves. Apply a trivial, reversible change in a non-production workspace with the target binary, and compare its plan output against what your current binary produces for the same configuration. Resolve any difference in plan output, provider behavior or state writes before you touch production workspaces. Pin the exact version in your CI runner images and state the state backup location in the change record, with a named owner for each step. Ask the team that maintains each provider in your stack whether it has compatibility notes for the target OpenTofu release, because the core binary is only one part of what changes.

Which OpenTofu releases receive patches and what each line means for an upgrade

This table lists the OpenTofu releases that matter for an upgrade decision and what each one means for your plan. Use the status column to see which line is current and which one still receives patches, then confirm each line's support window on the releases page, since this page does not state end-of-life dates. OpenTofu was accepted to the CNCF at the Sandbox maturity level on April 23, 2025, which describes the project's standing in the foundation, not a support commitment for any version.

VersionStatus or dateWhat it means for an upgrade
v1.13.11Released November 30, latest on the releases pageLatest release on the 1.13 line. Use it as the target for a 1.13 upgrade, and confirm this line's support window on the releases page.
v1.12.13Released November 30, patched on the 1.12 lineStill receives patches. Patches stay within 1.12, so moving to 1.13 is a separate change that needs its own testing.
v1.13.1Released October 1, 2026Earlier 1.13 release that follows 1.13.0. Moving from 1.13.0 to this release is a patch step within the line, so review its release notes before applying it.
OpenTofu 1.7Introduced state and plan encryption (feature tagged v1.7 in the documentation)Relevant if you encrypt state or plan files. Review the encryption documentation before enabling it, and confirm support on the releases page.

Where OpenTofu states Terraform compatibility and where it does not

OpenTofu states its Terraform compatibility at different strengths for different parts of an upgrade. Configuration and shared state carry the most day-to-day risk, while feature parity and state encryption change what you must plan, test and approve. Treat each card as a question to answer in your own environment before you change the version pin.

Configuration compatibility

The project aims to stay compatible with Terraform configurations, so most HCL code is expected to plan and apply under OpenTofu. The upgrade touches every root module, child module and provider version constraint in your repositories. Start with the four-step path on the migration page: back up code and state, install OpenTofu, initialize and verify the configuration, then test with a small change. Confirm the plan diff for each workspace in a non-production account, read every line of it, and check that provider and module sources resolve. Verify the stated aim against your own code, one workspace at a time.

Migration guide

Shared state through terraform_remote_state

Configurations that read another stack's outputs through terraform_remote_state create a dependency between state files, so one team's upgrade can break another team's plan. The migration page points to a separate guide for configurations that share data this way, and that guide applies before any producer stack changes version. Map which stacks publish outputs and which read them through each backend. Agree the upgrade order with every owning team, and confirm that consumer stacks can still plan while producers run the older version during the transition. Record that order in your change plan before the first workspace moves.

Feature parity with future Terraform releases

OpenTofu states an aim of keeping feature parity with Terraform for future releases. The community decides which features OpenTofu adopts, so compatibility with later Terraform versions cannot be promised. This matters if your roadmap depends on a newer Terraform feature, or if you may need to move back to Terraform later. Confirm which Terraform features your code relies on and whether each one exists in the OpenTofu release you pin. Check feature by feature before assuming a capability carries over, and assign someone to read release notes before every upgrade.

State encryption at rest

OpenTofu encrypts state and plan files at rest, for local storage and remote backends, and the website tags this feature as introduced in v1.7. Key providers include PBKDF2, AWS KMS, GCP KMS, OpenBao and Azure Vault. The upgrade matters most if you are moving from a version before v1.7 and plan to enable encryption, or if pipelines read state files directly. Confirm which key provider your security team approves, who holds the keys and how rotation works. Test restores with encryption enabled before you rely on it, including a restore made when the key service is unavailable.

The OpenTofu major version upgrade path: four documented steps

The migration page documents four steps: back up state and code, install OpenTofu, initialize and verify the configuration, and test with a small change. Each step closes with a check you record before moving on. The path is written around moving from Terraform, so confirm in the target release notes that the same order applies to your version.

  1. Confirm the target release notes

    Before changing anything, open the release notes for the exact OpenTofu version you plan to run and confirm that the documented order still applies to this move between OpenTofu releases. The migration path is written around moving from Terraform, so it does not by itself cover every OpenTofu-to-OpenTofu change. Check the OpenTofu releases page, which as of December 2026 lists v1.13.11 as latest, with v1.12.13 also receiving patches. The step is done when the target version and any release note that changes the sequence are written into the change record.

  2. Back up state and code

    The person running the upgrade takes a full copy of every state file, including state held in remote backends, and a copy of the configuration repository at the commit you are upgrading from. If state encryption is enabled, record the key provider settings and keep access to those keys with the backup, because encrypted state cannot be read without them. Store the copy outside the upgrade path so it stays usable if you need to roll back. The step is done when someone other than the operator restores a state file from the backup and confirms its resource list matches the source.

  3. Install the target OpenTofu binary

    The platform engineer installs the target OpenTofu binary on each runner, workstation or CI image that will run plans, and pins that exact version so every operator uses the same build. Keep the previous binary available so you can return to it during rollback. Confirm the installed build with tofu version and record the output. Check that providers and modules are pinned in the dependency lock file, because a missing lock file lets the new binary resolve versions differently. The step is done when every runner reports the same version string and the previous binary is still present.

  4. Initialize and verify the configuration

    The operator runs tofu init in each root module, then tofu validate and tofu plan without applying anything. Read every planned create, update and destroy action, and treat any proposed replacement as a blocker until you understand why it appears. If the configuration shares data through terraform_remote_state, follow the separate migration guide that the migration page points to before accepting the plan. The step is done when each root module shows no changes, or only changes the team can explain in writing.

  5. Test with a small change

    In a non-production workspace, make one low-risk change, such as a tag on a disposable test resource, and run plan and apply through the same pipeline production uses. This example is illustrative: choose a resource whose failure is cheap to recover from. Confirm that the apply completes, the state updates, and a second plan returns no changes. If the test fails, restore from the backup taken in the second step. The step is done when the small change applies cleanly and the team agrees in writing to move the remaining modules.

What the documented path does not settle for breaking changes and state

The documented path gives no list of breaking changes between the 1.x lines, so this page cannot serve as a complete inventory of what changes on the way to a newer release. Read the release notes for every version you will pass through, not only the target. As of December 2026, the OpenTofu releases page lists v1.13.11 as the latest release and v1.12.13 as released the same day, so two minor lines are receiving patches. Which lines and intermediate versions you cross depends on the version you run today, and each step's release notes are the place to check for changes in behavior.

State and plan files are the data to protect first. Take a backup of every state file and saved plan file, and confirm that the backup can be restored and read by the version you are leaving, since a rollback depends on it. OpenTofu encrypts state and plan files at rest for local storage and remote backends, using key providers that include PBKDF2, AWS KMS, GCP KMS, OpenBao and Azure Vault. Record which provider and key each workspace uses, who can access that key, and whether state encryption is configured on the stacks you plan to upgrade. Any key material or provider setting you cannot recover is a rollback blocker, so test restoring a backup in a copy of the environment before the upgrade window.

Whether a state format change or migration step applies to your target release is a question only the project can answer, so do not assume either way. Confirm with the project whether any state format change, state migration or configuration step applies to your exact source and target versions, and record the answer before scheduling. The migration guide lays out four steps: back up state and code, install OpenTofu, initialize and verify the configuration, then test with a small change. Those steps give the sequence but not the answer for your versions. The guide also points to a separate guide for configurations that share data through terraform_remote_state, so check whether any stack reads another stack's outputs that way.

Planning the OpenTofu major version upgrade by state location

Local state puts the rollback point in files you copy yourself. OpenTofu's migration guide starts with backing up state and code before a new binary is installed, and the practices below extend that step. OpenTofu can encrypt local state and plan files at rest with key providers including PBKDF2, AWS KMS, GCP KMS, OpenBao and Azure Vault, a feature the project's website tags as introduced in v1.7.

  • Backup of state and code: Copy each state file and the configuration at a known commit, and keep the copy outside the working directory, where a later init or apply is less likely to touch it.
  • Copies on workstations: Search developer machines for stray terraform.tfstate or terraform.tfstate.backup files, which often fall outside the backup plan.
  • Encryption choice: Record which key provider protects local state and where its passphrase or key reference is stored, separate from the state backup.
  • Passphrase ownership: Confirm in OpenTofu's state encryption documentation what happens to encrypted state if the passphrase is lost, and who holds a copy.
  • Restore test: Restore the backup into an empty directory and run a plan with the pinned version before touching live state.

Confirm that the restore completes without the engineer who wrote the configuration, and that the passphrase is reachable from the recovery machine.

The backup is the first rollback point in an OpenTofu upgrade

The diagram follows the four steps in OpenTofu's migration guide, in the documented order. The backup of state and code comes first and is the first rollback point, taken before the binary changes. After installing the target version, the initialize and verify step runs against the configuration. The verify gate and the test gate are decision points: a failure at either one sends you down the restore path. That path, reinstalling the prior binary and restoring the backed-up state, is a precaution you set up yourself. OpenTofu's migration page does not document it as a rollback procedure, so test it in your own environment before you need it.

Four documented upgrade steps, with the rollback point and decision gates marked.

Testing an OpenTofu major version upgrade and what rollback depends on

The documented test is a small change applied after verification. The OpenTofu migration guide lists four steps: back up state and code, install OpenTofu, initialize and verify the configuration, then test with a small change. Treat that last step as the gate for the rest of the upgrade. Run tofu plan against your production state with the new binary and read the full output before any apply. Confirm that the plan shows no resource replacements, deletions or provider changes you cannot explain. If the plan shows unexpected diffs, stop and find the cause before continuing. A small, low-risk change applied after a clean plan shows that the new binary can read and write your state for your backend. That is the minimum evidence to have before a wider rollout.

The project material for this page does not document a rollback path, so do not assume one exists. Rollback is a procedure your team has to design and rehearse. In practice it depends on three things. The first is the retained prior binary: keep the exact previous OpenTofu release, pinned by version and checksum, in your artifact store and in CI until the upgrade is signed off. The second is a verified state backup taken immediately before the upgrade, with a restore that has been tested end to end. The third is access to the encryption key provider if state encryption is enabled, whether that is a PBKDF2 passphrase or a key in AWS KMS, GCP KMS, OpenBao or Azure Vault. A backup encrypted under a key your rollback operators cannot reach gives you no rollback. Confirm who holds those permissions and that they work from the rollback runner.

The main technical risk is that a state written by a newer release may not be readable by an older binary. Do not rely on rollback until you have tested it in staging. Restore a copy of production state, run the upgraded binary against it, then attempt to read and plan that state with the retained prior binary. Record the exact versions tested, since the result applies only to that pair. If the older binary cannot read the state, rollback becomes a restore of the pre-upgrade state backup, which discards any changes applied after the upgrade. Decide before the change window whether applies will be frozen until sign-off. Check the release notes for the versions you run, and keep the staging result as the evidence your change board will ask for.

Questions buyers ask before hiring help for an OpenTofu major version upgrade

What drives the cost of hiring help for an OpenTofu major version upgrade?

Cost follows the amount of state, code and pipeline work in scope, plus how much review and testing your team keeps for itself. Most engagements are fixed-scope, so the written scope sets the deliverables and the quote follows from it. Your team pays for the people who own the change: the approvers, the engineers who review plans and whoever staffs the change window. A provider's quote usually covers the inventory of state and backends, the upgrade in a staging copy, test runs, the rollback runbook and documentation. Most of that work is one-time. Costs recur only if you buy a retainer for upgrades, continuous testing or ongoing support after the upgrade. Ask each provider to quote against a list of state files, backends, pipelines and key providers in scope, and to name who runs the staging rehearsal.

How long does an OpenTofu major version upgrade take?

No duration is documented for this work, so any timeline should come from a written scope and the drivers below. The main drivers are the number of state files, the number and type of backends, the number of pipelines and runners that run plan and apply, how many provider and module sources are pinned, and whether state encryption is enabled. Each state file that needs a rehearsal, verification and a change window adds work. Shared remote state adds coordination with every team that reads it. Also ask how many change windows your environment allows, because the schedule often sets the calendar as much as the work does.

What does an upgrade need from our team before work starts?

Before work starts, your team needs to give access and name decision owners. The provider needs read access to the code repositories and the state backends, plus a recent copy of state for rehearsal, granted under the rules your security team sets. If state is encrypted, the upgrade workflow also needs use of the key provider, so key policies must allow decryption and re-encryption. Agree on change windows, a named owner for each pipeline and runner, an owner for each provider and module source, and one person who signs off production. Ask your security team how access is granted, logged and revoked, and whether the work runs in your accounts or on a host you control.

Can our team upgrade OpenTofu major versions without outside help?

For a small, unencrypted setup with one backend, many teams can do it alone, because the documented path is short. The OpenTofu migration page lists four steps: back up state and code, install OpenTofu, initialize and verify the configuration, and test with a small change. Effort rises with encrypted state, many workspaces, shared remote state and pipelines that other teams depend on. OpenTofu aims to keep compatibility with Terraform configurations, but configurations that share data through terraform_remote_state need the separate guide the migration page points to, so check those first. As of December 2026, two minor lines, v1.12.13 and v1.13.11, receive patches, so choose the target line deliberately and test it first.

When should we hire outside help for an OpenTofu upgrade?

Get outside help when the upgrade lacks a safety net your team can rely on, most often a tested rollback plan, encrypted state keyed through a KMS, or a staging environment to rehearse in. Each gap raises risk. Without a rollback plan, a failed apply can leave state and infrastructure out of step, and recovery becomes improvised under pressure. With encrypted state, key policies, key rotation and the decryption path must work before the change, or your team can lock itself out of its own state. Without staging, the first real test runs in production. A partner working under a written scope can build the rollback runbook, a staging copy and a key access test before the change window. Ask any provider how they would restore state from backup and who makes the rollback call.

Does a managed service remove the OpenTofu upgrade work?

No direct managed equivalent of self-hosted OpenTofu was identified on AWS, Azure or Google Cloud as of December 2026, so confirm this with each vendor before you plan around it. A hosted service may take over some pipeline work, but it changes where state, credentials and approvals sit, so the upgrade plan has to cover those moves too. Whatever runs the work, your team still owns the state, the provider versions and the approval for each change. Ask each vendor where state is stored, who holds the encryption keys, which OpenTofu versions they run, and how they schedule upgrades and roll back a failed one.

How DeployOpen plans and runs OpenTofu upgrades

DeployOpen treats an OpenTofu major version upgrade as a scoped change to your state, configurations and runners. We check the target version's release notes against your code, back up state and code, and test the upgrade before any production apply. Each engagement is fixed-scope, with scope and deliverables agreed in writing before work starts.

How we scope

  • The written scope names the source and target OpenTofu versions for the upgrade.
  • It lists which configurations, backends, state files and CI runners the upgrade covers.
  • Ongoing support after handover is available as a retainer, with its own written terms.

How we build

  • Back up state files and code, and confirm restore before any version changes.
  • Confirm access to state encryption key providers, such as AWS KMS or OpenBao, before upgrading.
  • Test the target version against a copy of your production configuration, then review every plan diff.

How we hand over

  • A written runbook covers the upgrade steps, the rollback point and the verification checks.
  • A documented record lists breaking changes found, how each was resolved, and what remains open.
  • A walkthrough with your platform team happens before the upgraded environment is signed off.

How we support

  • As of December 2026, OpenTofu patches two minor lines, so confirm which one your team tracks.
  • Retainers can cover later OpenTofu upgrades and continuous testing of your configurations.
  • Upgrade records can serve as change evidence for your auditors, who make the final assessment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.