TrueCar migrated over 700 infrastructure stacks from Terraform to OpenTofu following HashiCorp's license change to Business Source License. The migration involved upgrading all stacks to Terraform 1.5.5, then moving to OpenTofu 1.6.2, and finally to OpenTofu 1.9.0. Key challenges included managing multiple versions, coordinating changes across a monorepo, and preventing accidental Terraform usage. OpenTofu's early variable evaluation feature enabled dynamic state file configuration that automatically breaks Terraform compatibility, eliminating the risk of state corruption from mixed tool usage.

10m read timeFrom spacelift.io
Post cover image

Sort: