Back to Opentofu

Migrating to OpenTofu from Terraform

website/docs/intro/migration/index.mdx

1.11.6587 B
Original Source

Migrating to OpenTofu from Terraform

Before you begin

OpenTofu aims to maintain compatibility with Terraform configurations. While most Terraform code will work without modification, we recommend following our migration guide to ensure a smooth transition.

Migration process overview

The migration process is designed to be safe and reversible:

  1. Back up your infrastructure state and code
  2. Install OpenTofu
  3. Initialize and verify your configuration
  4. Test with a small change

→ Read the complete migration guide