Terraform → OpenTofu
easyOpenTofu is the open-source Terraform fork maintained by the Linux Foundation after HashiCorp's license change to BUSL. Fully compatible with Terraform up to 1.5.x.
Estimated: 1-3h · 4 steps
Progress0%
Step 1: Install OpenTofu
OpenTofu CLI is a drop-in replacement for terraform CLI.
brew install opentofu # or: curl -s https://packagecloud.io/install/repositories/opentofu/tofu/script.deb.sh | sudo bash
Step 2: Replace CLI calls
Replace `terraform` with `tofu` in all scripts, CI/CD pipelines, and Makefiles.
sed -i 's/terraform/tofu/g' Makefile .github/workflows/*.yml
Step 3: Update state backend (optional)
Existing state files are compatible. No migration needed. OpenTofu reads Terraform state format.
Step 4: Check provider compatibility
Most providers work. Verify your registry source — use registry.opentofu.org or keep registry.terraform.io for now.
✓ tofu init && tofu plan — no errors