Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. OpenTofu
  3. tfmigrate

tfmigrate

MITGov0.4.5

A Terraform/OpenTofu state migration tool for GitOps that enables declarative state operations as code.

GitHubGitHub
1.3k stars62 forks0 contributors

What is tfmigrate?

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.

Target Audience

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.

Value Proposition

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.

Overview

A Terraform / OpenTofu state migration tool for GitOps

Use Cases

Best For

  • Safely renaming or moving Terraform resources across states in a team environment
  • Splitting or merging Terraform states during monorepo refactoring
  • Automating state migrations in CI/CD pipelines with GitOps practices
  • Tracking and applying Terraform state changes as versioned code
  • Validating state operations with dry-run before applying to production
  • Managing Terraform Cloud or remote state backends with declarative migrations

Quick Stats

Stars1,276
Forks62
Contributors0
Open Issues20
Last commit4 months ago
CreatedSince 2020

Tags

#tfstate#opentofu#devops-tools#terraform#infrastructure-as-code#iac#gitops#go#state-management

Built With

G
Go
D
Docker
H
HCL

Included in

Terraform6.3kOpenTofu183
Auto-fetched 10 hours ago

Related Projects

terraformerterraformer

CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code

Stars14,557
Forks1,837
Last commit5 months ago
InfracostInfracost

Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!

Stars12,509
Forks686
Last commit6 days ago
TerragruntTerragrunt

Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.

Stars9,819
Forks1,222
Last commit14 hours ago
atlantisatlantis

Terraform Pull Request Automation

Stars9,281
Forks1,335
Last commit11 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub