What drives the choice between Terraform and OpenTofu?
IntermediateProductionHCP Terraform, OpenTofu, Scale and Cost
Answer
Licence (BSL versus MPL under Linux Foundation governance), feature needs (OpenTofu's native state encryption, -exclude, provider for_each; Terraform's ephemeral resources, HCP integration and Stacks), vendor-support contracts, ecosystem tooling compatibility (most tools support both) and organisational risk appetite. Both run the same providers. Test your CI tools and policies against tofu before committing.
More on HCP Terraform, OpenTofu, Scale and Cost
How do you design workspaces and projects in HCP Terraform?IntermediateWhat execution modes does HCP Terraform offer?BeginnerWhat are the three run workflows in HCP Terraform?BeginnerHow are variable sets and sensitive variables used?BeginnerHow is HCP Terraform priced, and how does it affect design?IntermediateHow do you choose between HCP Terraform, Atlantis, Spacelift and plain GitHub Actions?Advanced