Terrafrom vs OpenTofu

Table of contents

Why not Terraform?
As many of you know, Terraform is no longer fully open source, especially for those offering Terraform as a service to clients( now its under BUSL license).
BUSL: It is a source-available license, meaning the code is publicly accessible, but it limits the ability to use the software for certain purposes, especially commercial or production use, unless an additional use grant is provided.
While this doesn’t impact using Terraform for internal environments like dev, staging, or prod, it does raise concerns for service providers and the broader open-source community.
OpenTofu
OpenTofu is a Terraform fork, created as an initiative of Gruntwork, Spacelift, Harness, Env0, Scalr, and others, in response to HashiCorp's switch from an open-source license to the BUSL.
Solves the state file encryption issue.
Maintains full compatibility with Terraform’s API, CLI, and providers.
You can continue using your existing
.tf
files without any changes.
OpenTofu will work with existing state files up to those created with Terraform versions 1.5.x. OpenTofu works with the current Terraform providers, but it uses a separate registry.
OpenTofu is more than just a fork, it’s a commitment to open infrastructure. 🌍
#OpenTofu #Terraform #DevOps #InfrastructureAsCode #OpenSource #IaC #CloudEngineering
Subscribe to my newsletter
Read articles from Aditya Khadanga directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Aditya Khadanga
Aditya Khadanga
A DevOps practitioner dedicated to sharing practical knowledge. Expect in-depth tutorials and clear explanations of DevOps concepts, from fundamentals to advanced techniques. Join me on this journey of continuous learning and improvement!