macOS
brew install tfautomvlocal Homebrew formula metadata
brew
Generate Terraform moved blocks automatically for painless refactoring. Version 0.7.0 via Homebrew; verified 2026-06-22.
install
brew install tfautomvlocal Homebrew formula metadata
nix profile install nixpkgs#tfautomvnixpkgs package indexes · pkgs/by-name/tf/tfautomv/package.nix · source: api.github.com
overview
Generate Terraform moved blocks automatically for painless refactoring
history
tfautomv is a Terraform and OpenTofu refactoring assistant that detects create/delete pairs in plans and generates `moved` blocks or `terraform state mv` commands. Its purpose is to preserve state when resources are renamed or moved in code.
The project started in April 2022 with design documentation, followed by a July 2022 MVP and v0.1.0 tag. The README now marks the tool stable and used in production, with maintenance mostly limited to dependency updates and bug reports.
The tool grew from generating Terraform moved blocks into supporting state move commands, cross-directory moves, OpenTofu through `--terraform-bin`, preplanned files, verbosity for unmatched resources, and ignore rules for provider quirks.
The README documents Homebrew, a shell installer, Arch/Yay, asdf, releases, and source builds. The package input also records Homebrew and Nix availability, matching the tool's Unix-centric target audience.
Users run `tfautomv` in a Terraform working directory after a pure refactor. The tool runs or reads a plan, identifies likely state-preserving moves, writes `moves.tf`, or emits shell commands for `terraform state mv` review and execution.
The official workflow recommends separating structural refactors from configuration changes, running tfautomv, applying the generated moves until the plan shows no infrastructure changes, and then making attribute changes separately.
tfautomv is significant to Terraform package users because it automates a formerly manual refactoring chore. It also tracks the post-Terraform-fork ecosystem by explicitly supporting OpenTofu while retaining Terraform-compatible command semantics.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tfautomv | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/busser/tfautomv
install metadata
| Package key | brew:tfautomv |
|---|---|
| Version | 0.7.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tfautomv |
| Homepage | https://github.com/busser/tfautomv |
| Repository | https://github.com/busser/tfautomv |
| Upstream docs | https://github.com/busser/tfautomv#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/busser/tfautomv/archive/refs/tags/v0.7.0.tar.gz |
| Last updated | 2026-06-22T14:06:28-07:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tfautomv |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tfautomv
nix profile install nixpkgs#tfautomvsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.