minamijoyo/tfmigrate
A Terraform / OpenTofu state migration tool for GitOps observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 80
- Release rhythm 58
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 118.0
- age_days: 2259
- days_rel: 121
- days_push: 121
- n_releases_24m: 7
Adoption not part of the score
1278 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tfmigrate is a CLI tool for safely migrating Terraform and OpenTofu state files in a GitOps-friendly, declarative way. It lets you write state mv/rm/import operations as HCL migration files, dry-run them, and track applied migration history.
Use cases
- rename or move terraform resources in state without manual terraform state mv commands
- split or merge terraform state files when refactoring a monorepo
- import existing infrastructure into terraform state declaratively
- dry-run state migrations and verify terraform plan shows no changes
- track and apply unapplied state migrations in sequence in CI
- replace state providers across a terraform codebase
When to choose
- you practice GitOps and want state changes committed as reviewable code
- you need to refactor terraform state across multiple tfstates in a monorepo
- you want safe, simulated state migrations before touching remote state
When to avoid
- you only need simple one-off state edits and are comfortable with terraform state commands directly
- you use IaC tools other than Terraform or OpenTofu
Facets
cli-tool · maturity active
infrastructure-as-code cli developer-tools configuration-management infrastructure-as-code developer-tools windows cli go terraform opentofu tfstate gitops state-migration hcl devops automation linux macos
1 source
- readme: https://github.com/minamijoyo/tfmigrate · fetched 2026-08-28 · a7b2a1771f2a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| minamijoyo/tfmigrate | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="minamijoyo/tfmigrate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem