Why did OpenTofu appear and how does it differ from Terraform?
IntermediateConceptIaC and Terraform Fundamentals
Answer
In August 2023 HashiCorp moved Terraform from MPL 2.0 to the Business Source License. The community forked the last MPL version as OpenTofu, now under the Linux Foundation. Config and state are mostly compatible. OpenTofu adds features such as native state encryption, for_each on providers, early variable evaluation in backends and the -exclude flag; Terraform has its own additions like ephemeral resources and HCP-centric features.
More on IaC and Terraform Fundamentals
What is Infrastructure as Code and why do teams use it?BeginnerWhat is the difference between declarative and imperative infrastructure tools?BeginnerWhat is Terraform and what problem does it solve?BeginnerWhat is HCL and can Terraform use anything else?BeginnerWhich files make up a typical Terraform root module?BeginnerHow does Terraform work internally?Advanced