Lädt...


🔧 In Light of Terraform Licensing Changes, OpenTofu Offers a Free, Open-Source Path


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

As of April 2024, HashiCorp has become part of IBM. This acquisition has sparked concerns about the future of Terraform, mainly due to HashiCorp’s controversial license change to a BSL License in August 2023.

"BSL 1.1 is a source-available license that allows copying, modification, redistribution, non-commercial use, and commercial use under specific conditions."

This scenario exemplifies the challenge of monetising open-source software. Large open-source projects are typically sustained by big tech companies, which provide funding and engineering resources. This support allows projects to maintain a dedicated workforce to keep the development engine running smoothly.

Concerns Surrounding the Acquisition

Two main concerns have been raised about IBM’s acquisition of HashiCorp:

  • IBM's Track Record: IBM has a history of unsuccessful acquisitions of promising companies, which raises doubts about the future success of Terraform under its new ownership.

  • Conflict of Interest: IBM’s cloud offerings present a potential conflict of interest. Terraform is widely used to manage infrastructure on major cloud platforms like AWS, Azure, and GCP. This could reduce effort or interest in maintaining integrations with competing cloud providers.

Considering Alternatives to Terraform

If you are currently using Terraform and are not inclined to acquire licenses in the future, consider exploring alternatives. The most straightforward option is OpenTofu.

Following the license change, a private fork of Terraform was created, leading to the release of OpenTofu. You can read the official announcement here.

Terraform vs OpenTofu: What Are the Differences?

Apart from licensing, Terraform and OpenTofu are fundamentally the same. Since the fork is relatively recent, they function very similarly. Here's an overview:

Installing OpenTofu

For Linux and macOS, you can install OpenTofu via Homebrew:


brew update
brew install opentofu

Usage
After installation, using OpenTofu is almost identical to using Terraform:

terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "4.1.0"
    }
  }
}

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "example-rg" {
    name = "example-rg"
    location = "West Europe"  
}

With this infrastructure configured, initialize OpenTofu:


tofu init

Initializing the backend...

Initializing provider plugins...

OpenTofu has been successfully initialized!

You may now begin working with OpenTofu. Try running "tofu plan" to see any changes that are required for your infrastructure. All OpenTofu commands should now work.

If you ever set or change modules or backend configuration for OpenTofu, rerun this command to reinitialize your working directory. If you forget, other commands will detect it and remind you to do so if necessary.

From now on, you only need to replace the terraform command with tofu to run your IaC.

For more details on migrating from Terraform to OpenTofu, visit the migration guide.

Final Thoughts

I'm launching a new GitHub repo to explore examples using OpenTofu further. Please follow the repo here.

This post aims to introduce OpenTofu as a viable alternative and encourage community engagement in using and improving this important tool in the modern cloud development landscape.

...

🔧 Using OCI Bucket for Terraform/OpenTofu remote state backend


📈 34.82 Punkte
🔧 Programmierung

🔧 Terraform, OpenTofu and state encryption


📈 34.82 Punkte
🔧 Programmierung

🔧 Terratest vs Terraform/OpenTofu Test: In-Depth Comparison


📈 34.82 Punkte
🔧 Programmierung

🔧 Como resolver um "Failed to Download Module" do Terraform / OpenTofu


📈 34.82 Punkte
🔧 Programmierung

📰 Freie Terraform-Alternative: Opentofu ermöglicht "state encryption"


📈 34.82 Punkte
📰 IT Nachrichten

🔧 Managing versions of OpenTofu, Terraform and TerraGrunt with tenv and DOP


📈 34.82 Punkte
🔧 Programmierung

📰 heise+ | Infrastruktur-Code von Terraform zu OpenTofu übertragen


📈 34.82 Punkte
📰 IT Nachrichten

🔧 heise+ | Infrastruktur-Code von Terraform zu OpenTofu übertragen


📈 34.82 Punkte
🔧 Programmierung

🔧 Migración sin problemas: De Terraform a OpenTofu con ejemplos prácticos


📈 34.82 Punkte
🔧 Programmierung

🐧 Terraform Fork Gets Renamed OpenTofu, Joins Linux Foundation


📈 34.82 Punkte
🐧 Linux Tipps

🔧 Как настроить зеркало реестров для OpenTofu и Terraform


📈 34.82 Punkte
🔧 Programmierung

📰 OpenTofu: Liberating IaC and DevOps beyond Terraform


📈 34.82 Punkte
📰 IT Security Nachrichten

📰 Will VMWare’s licensing changes push devirtualization of data centers?


📈 25.42 Punkte
📰 IT Security Nachrichten

📰 European trade body lashes out at Broadcom’s VMware licensing changes


📈 25.42 Punkte
📰 IT Security Nachrichten

🐧 Q&A with Grafana Labs CEO Raj Dutt about our licensing changes


📈 25.42 Punkte
🐧 Linux Tipps

📰 Microsoft to Roll Out Office 365 Client Licensing Changes in August


📈 25.42 Punkte
📰 IT Security Nachrichten

📰 Microsoft to Roll Out Office 365 Licensing Changes in August


📈 25.42 Punkte
📰 IT Security Nachrichten

🔧 Terraform Tactics: A Guide to Mastering Terraform Commands for DevOps


📈 24.46 Punkte
🔧 Programmierung

🔧 Terraform - Using GitHub Copilot Chat with Terraform


📈 24.46 Punkte
🔧 Programmierung

🔧 Understanding Terraform: part 1 – What is Terraform?


📈 24.46 Punkte
🔧 Programmierung

📰 Kaspersky offers Good Bye Letter and offers 6 months free cybersecurity


📈 24.3 Punkte
📰 IT Security Nachrichten

📰 Zoom changes course on end-to-end encryption and offers it free to everyone


📈 24.06 Punkte
📰 IT Security Nachrichten

🔧 GitLab, Azure, OpenTofu, and NO secrets!


📈 22.59 Punkte
🔧 Programmierung

📰 Mehrere Probleme in opentofu (Fedora)


📈 22.59 Punkte
📰 IT Security Nachrichten

📰 Mehrere Probleme in opentofu (Fedora)


📈 22.59 Punkte
📰 IT Security Nachrichten

🔧 Day 15 of 100 Days of Cloud: Getting Started with OpenTofu


📈 22.59 Punkte
🔧 Programmierung

🔧 OpenTofu 1.8 Is Now Available!


📈 22.59 Punkte
🔧 Programmierung

🔧 OpenTofu v1.8: A Detailed Look at the Upcoming Release


📈 22.59 Punkte
🔧 Programmierung

🔧 OpenTofu State File Encryption Overview


📈 22.59 Punkte
🔧 Programmierung

🔧 What is OpenTofu?


📈 22.59 Punkte
🔧 Programmierung

🔧 Integrating Atlantis with OpenTofu.


📈 22.59 Punkte
🔧 Programmierung

matomo