- Getting started
- Migrating to OpenTofu
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:
- Back up your infrastructure state and code
- Install OpenTofu
- Initialize and verify your configuration
- Test with a small change