# Unraveling the OpenTofu and Terraform Controversy
Written on
Chapter 1: The Origins of Terraform
The situation between OpenTofu and HashiCorp has escalated, with accusations of unauthorized code usage surfacing. In a recent development, OpenTofu responded to a cease and desist letter from Terraform, asserting that the claims made by HashiCorp are unfounded. If you're curious about the details of this unfolding drama, you're in the right place. Let’s delve into the facts surrounding this heated debate within the programming, open-source, and Go language communities, as both Terraform and OpenTofu are built using Go.
OpenTofu emerged as a response to the original Terraform project, which HashiCorp initiated in 2014. Over the past nine years, Terraform has gained immense popularity among DevOps professionals due to its open-source nature, utilizing the Mozilla Public License (MPL). This license offers considerable freedom for users to modify and distribute the source code.
If you appreciate this article, feel free to show some support!
Chapter 2: A Comparative Perspective on Open Source
To better understand the implications of this controversy, it’s beneficial to consider the journey of another open-source project, Elasticsearch, which was established four years prior to Terraform. Elasticsearch, a robust platform for efficient data search and real-time insights, has been actively developed since 2010 and has garnered a large user base.
In 2015, Amazon integrated Elasticsearch into its AWS offerings, leading to a significant revenue boost, with reported earnings of $45 billion from AWS in 2020. However, this partnership was not without its challenges, as the Elasticsearch team was dissatisfied with Amazon’s use of their trademark without reciprocal contributions.
In response, Elasticsearch modified its licensing terms to safeguard its project. However, Amazon chose to fork Elasticsearch, launching its own version called OpenSearch. This division sparked varied reactions among the developer community, with some supporting Amazon and others siding with Elasticsearch.
In a surprising twist, the two parties eventually reached an agreement in 2022, highlighting the potential for cooperation in the open-source realm.
Chapter 3: The Fallout from HashiCorp’s Licensing Changes
Fast forward to August 2023, the Terraform team announced a significant alteration to its licensing, restricting users from creating competitive services. This move has been met with mixed feelings, as some developers argue that it undermines the open-source ethos.
In light of this, the Linux Foundation intervened, forking Terraform to create OpenTofu, which retains the original, more permissive licensing. This decision, however, did not sit well with HashiCorp, which has invested considerable resources into Terraform over the past nine years.
On April 3, HashiCorp sent a cease and desist letter to OpenTofu, claiming that the new code under the revised license was improperly replicated. OpenTofu rebutted this assertion on April 11, emphasizing their adherence to the original licensing terms.
As of now, the situation remains tense, with both sides standing firm in their positions.
Chapter 4: Looking Ahead
This ongoing dispute between OpenTofu and HashiCorp raises important questions about the future of open-source projects. While forking can drive innovation, it also poses risks, especially when large corporations are involved. The need for open-source projects to protect their interests has never been more pressing.
What do you think about this unfolding scenario? Share your thoughts in the comments!
As a side note, if you're interested in the Go programming language, consider exploring my previous articles on the topic.
Thank you for taking the time to read this lengthy piece! Your engagement is invaluable to me. If you enjoy coding discussions, feel free to connect by subscribing!
Additionally, check out my Go card game, "Summon The JSON: Go," available for order now!
Join the growing community of over 14,000 developers who follow Tom Smykowski! For just $5 a month, you can access all my Medium articles and support my continued writing on Go. Also, consider joining the Go Programming Guild group on LinkedIn, welcoming all Go enthusiasts!