terraform

The licence changed under the state file

The licence changed under the state file

On the tenth of August, HashiCorp relicensed. On Wednesday, the fork that followed was accepted by the Linux Foundation and renamed OpenTofu. In between there were six weeks of the loudest argument the infrastructure-as-code world has had in years.

I hold a Terraform certification and every environment I've worked on in the last several years is described in .tf files, including the runner fleet I wrote about last autumn. So the relicensing touched my own work, and it took a weekend of reading to work out what I had to do about it, if anything.

It was much less than the volume of the argument suggested. And the parts of the licence that matter aren't the parts that got quoted.

MPL 2.0 to BUSL 1.1

HashiCorp moved future releases of its products from the Mozilla Public License 2.0 to the Business Source License 1.1. That covers Vault, Consul, Nomad, Boundary, Packer, Waypoint and Vagrant as well as Terraform.

The BUSL is not an open-source licence. It permits copying, modification and redistribution, and it permits production use, with one carve-out. You may not offer the licensed work to third parties on a hosted or embedded basis in a way that competes with HashiCorp's own products. It also carries a change date, so each release converts to the MPL after four years.

Most of the first week of commentary skipped one sentence: the APIs, the SDKs, and the providers stay under the MPL 2.0.

And the providers are most of the surface area. The AWS provider is what knows how to create a security group. If the providers had moved, the argument would be about something else entirely.

So what does it mean for a team that just runs Terraform

Nothing, as far as I can tell. The gap between the licence text and the temperature of the discussion was wide enough to mislead people.

If you use Terraform to manage your own infrastructure (you run plan, you run apply, the state lives in your bucket, and no one outside your company touches your pipeline) then you are not offering the licensed work to third parties on a hosted or embedded basis, and BUSL permits what you're doing. Your existing releases are unaffected in any case, because a licence change applies to future releases and not retroactively to versions already published.

Who it does hit is the ecosystem, meaning companies whose product runs Terraform on behalf of customers, or embeds it. That's why the fork came from that direction, and why the list of organisations signing the manifesto looked the way it did.

The six weeks

It all moved unusually fast for something of this kind. The manifesto went out on the fifteenth of August, asking HashiCorp to reverse the decision, and collected tens of thousands of GitHub stars and pledges from well over a hundred companies. On the twenty-fifth it stopped being a request and became an announced fork. The repository went public on the fifth of September. On the twentieth, the Linux Foundation accepted the project and the name changed from OpenTF to OpenTofu, for trademark reasons that aren't hard to guess.

That was three days ago. What exists right now is a governance structure, a foundation home, a great deal of goodwill, and no release. Choosing OpenTofu today means choosing a promise. The people who made it have good reason to keep it, but a promise is not a binary I can pin in a pipeline.

A pinned CLI version and not much else

Nothing dramatic on Monday. Terraform 1.5 is the last release under the MPL, and everything at or below it stays as available as it was.

I pin the CLI version in CI already, and that's all of my mitigation. A pipeline that resolves "latest" at run time can have its terms changed without a pull request. With a pinned version somebody has to decide to change it. That was already good practice for reproducibility, and now there is a second reason for it.

Beyond that, modules and providers are MPL and unaffected, and the state file is a JSON document that both tools understand. So if it came to migrating, I would be migrating a binary and not an estate.

What a fork can copy

A fork can copy the CLI. It's a substantial program, but a known and bounded one, and the people doing the forking are the people who already know it well. What a fork can't unilaterally copy is the ecosystem around it - the provider registry, the module registry, the thousands of modules that assume a particular tool is reading them, the tutorials, the certifications, the fact that terraform is what the documentation of every other product tells you to run.

So I think this gets decided by whether providers and registries end up publishing to both, more than by whether the fork is any good. If they do, the fork is a drop-in and the licence stops mattering to people like me. If they dont, the fork is a very good program that reads a slightly different world.

That's a supply-chain question more than a moral one, and it is the one I'll be watching. In the meantime I have a pinned version, a state file that is just JSON, and no urgent problem.

Deyan Peev

Founding Engineer in Sofia, Bulgaria. Currently at 1club.

© 2026 Deyan Peev