A Terraform/OpenTofu state migration tool for GitOps that enables declarative state operations as code.
tfmigrate is a Terraform and OpenTofu state migration tool designed for GitOps workflows. It solves the problem of safely managing Terraform state operations like moving, removing, or importing resources by allowing these operations to be written as declarative HCL files, committed to version control, and applied with dry-run validation. This prevents errors and aligns state changes with configuration changes in a collaborative environment.
Infrastructure engineers and DevOps teams using Terraform or OpenTofu in production who need to refactor state safely, especially in GitOps or CI/CD pipelines where state changes must be versioned and validated.
Developers choose tfmigrate because it brings Terraform state operations into the GitOps paradigm, reducing manual, error-prone CLI commands. Its dry-run feature ensures migrations won't break infrastructure, and its support for multi-state migrations simplifies large-scale refactoring.
A Terraform / OpenTofu state migration tool for GitOps
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.