Interview Prep/Terraform/HCP Terraform, OpenTofu, Scale and Cost

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.

All Terraform questions

More on HCP Terraform, OpenTofu, Scale and Cost