OpenTofu 1.13 breaks legacy lock file format
Maintainers usually reply within 1 day
@osterman is already working on this.
Since Oct 6, 2026.
Assessment
This issue has not been assessed yet.
Description
Describe the Bug
OpenTofu 1.13 no longer supports old lock file formats. This breaks our init step with:
Error: Unsupported state file format: The state file uses format version 1, which is not supported by OpenTofu 1.13.1. This state file may have been created by a newer version of OpenTofu.
Expected Behavior
Atmos with Terraform/Tofu should init successfully and parse the lock file without issue
Steps to Reproduce
- Upgrade to >= OpenTofu 1.13
- Run the
initstep - If lock files are version 1 (perhaps 2 or 3, as well), init should fail with the reported error
Screenshots
No response
Environment
No response
Additional Context
No response
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 209
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 86
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudposse/atmos
-
terraform output --format=hcl writes unquoted map keys, producing invalid .tfvarsPossibly taken @aknysh claimed this 1 day ago. Open
cloudposse/atmos#3808 · 1 assignee ·
Maintainers usually reply within 1 day
-
terraform --all/--query/--components ignores stack and component default identities when atmos.yaml has a defaultPossibly taken @aknysh claimed this 2 days ago. Open
cloudposse/atmos#3804 · 1 assignee ·
Maintainers usually reply within 1 day
-
atmos pro commit can delete a file when its renamed path is skipped (size limit or .github/)Possibly taken @osterman claimed this 2 days ago. Openbug
cloudposse/atmos#3801 · 1 assignee ·
Maintainers usually reply within 1 day
-
ATMOS_FORCE_TTY puts ANSI color codes into piped `describe --format json/yaml` outputPossibly taken @aknysh claimed this 2 days ago. Openbug
cloudposse/atmos#3800 · 1 assignee ·
Maintainers usually reply within 1 day
-
Release v1.235.1Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudposse/atmos#3779 ·
Maintainers usually reply within 1 day
All issues in cloudposse/atmos
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
compaction: redundant exclusion checks after inRangePossibly taken @moodbased claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day