Automic VaultAutomic Vault

brew

Install tfautomv with Homebrew, Nix

Generate Terraform moved blocks automatically for painless refactoring. Version 0.7.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tfautomv

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#tfautomv

nixpkgs package indexes · pkgs/by-name/tf/tfautomv/package.nix · source: api.github.com

overview

Package summary

Generate Terraform moved blocks automatically for painless refactoring

Commands and aliases

  • tfautomv

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2022-04-16: First design commit
  • 2022-07-14: MVP implementation commit
  • 2022-07-15: v0.1.0 tag
  • 2023-11-15: v0.5.4 tag
  • 2024-02-13: v0.6.0 tag
  • 2025-06-06: v0.7.0 tag

Related projects

  • Terraform supplies plan/state semantics and the moved-block syntax.
  • OpenTofu is supported through the `--terraform-bin` flag.
  • Terragrunt is discussed as a wrapper-script integration rather than a direct binary replacement.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tfautomvcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.7.0
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv0.7.0

https://github.com/busser/tfautomv

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tfautomv
Version0.7.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tfautomv
Homepagehttps://github.com/busser/tfautomv
Repositoryhttps://github.com/busser/tfautomv
Upstream docshttps://github.com/busser/tfautomv#readme
LicenseApache-2.0
Source archivehttps://github.com/busser/tfautomv/archive/refs/tags/v0.7.0.tar.gz
Last updated2026-06-22T14:06:28-07:00
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametfautomv
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

tfautomv

nix profile install nixpkgs#tfautomv
  • normalized package name match
  • Matched by: Tfautomv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tf/tfautomv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment