# The fork shipped

> OpenTofu 1.6 reached general availability on the tenth of January, four months after the project had a name and no release. The binary works; what matters is registries and state.

- Author: Deyan Peev (https://deyanpeev.com)
- Published: 2024-01-20
- Tags: OpenTofu, Terraform, Infrastructure as Code, Open Source, CI/CD
- URL: https://deyanpeev.com/posts/the-fork-shipped

In September I wrote about the
[licence change and the fork](https://deyanpeev.com/posts/the-licence-changed-under-the-state-file)
and ended on a note I knew was unsatisfying. OpenTofu at that point was a
governance structure, a foundation home, a great deal of goodwill and no release,
so choosing it meant choosing a promise.

On the tenth of January the promise shipped. OpenTofu 1.6 is generally available
under the Linux Foundation, built by several dozen developers in four months, and
declared production-ready.

So does that change my answer?

# What was never really in doubt

The binary was always going to work. Forking a mature codebase and keeping it
running is a known quantity of engineering. The people doing it already knew the
code, the test suite came with it, and four months is a reasonable timescale for
that work. It was going to compile, and it was going to plan and apply.

What I said in September was that the value was never in the CLI. It's in the
providers, the modules, the registries, and the fact that `terraform` is what the
the documentation of every other product tells you to run. A working fork is
necessary, but it doesn't settle much.

# Registries and state

Providers were never the problem. They stayed MPL (most of the original panic
skipped that detail) and a fork reads them the same way.

The question was always the registries. A provider being openly licensed is not
the same as there being a place to fetch it from that a given tool is allowed to
use. OpenTofu shipping a GA release means it has had to answer that for itself.
How well the answer holds up under the weight of real usage is something I'd
watch over the next year, not the next week.

The other one is boring and it decides a lot, and that's state file
compatibility. The state is JSON, both tools understand it, and 1.6 tracks
Terraform's 1.6-era behaviour. So this is a decision you can reverse and not a
migration, and being able to reverse is most of what I want from an
infrastructure tool choice.

# What I am doing

Still nothing dramatic. I recognise that makes for an unexciting second post in a
row on this subject.

The pinned version in CI is still the mitigation it always was. Nothing about my
position changed in January except that the alternative went from hypothetical to
real. That gives me more options and no obligation to use them.

What I would do differently now is stop treating this as one decision. There are
two, and they have different answers. Whether an existing estate should move is a
question about risk, and my answer is that a working pipeline is worth more
than tidier licence. Whether a new project should start on one or the other is a
much cheaper question, there's no migration to do, and for a new project the
licence is a real input and not a theoretical one.

# Why the fork was possible

What I'll remember about this episode is how quickly the ecosystem routed
around a licence.

Five months from relicensing to a production-ready fork under a neutral
foundation is fast. It was possible because the conditions for it were already
in place. The code was open at the time it was taken, the providers were
separately licensed, the state format was documented, and enough organisations
had a concrete commercial reason to fund the work.

That combination isn't guaranteed anywhere else. For the other tools in a stack
I'd look at which of those conditions hold, because that decides whether a
licence change there is a nuisance or an emergency.
