Automic VaultAutomic Vault

brew

Install tfmv with Homebrew, MacPorts

CLI to rename Terraform resources and generate moved blocks. Version 1.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tfmv

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tfmv

MacPorts ports tree · sysutils/tfmv/Portfile · source: api.github.com

overview

Package summary

CLI to rename Terraform resources and generate moved blocks

Commands and aliases

  • tfmv

history

Project history and usage

tfmv is a Terraform refactoring CLI by suzuki-shunsuke for renaming resources, data sources, and modules while generating Terraform moved blocks. Its README frames the tool around the practical problem of changing Terraform block names without losing state continuity.

Project history

The project emerged in the Terraform 1.x era after moved blocks became the standard way to record address changes in configuration. The README demonstrates a focused workflow: scan Terraform files, rename matching block labels, update references, and emit moved blocks, with no need to run terraform init for the shown rename operation.

Adoption history

Adoption appears specialized rather than broad: Homebrew lists tfmv as a bottled formula at version 1.0.0 and reports low-volume installs. That pattern fits a maintenance utility used when teams perform Terraform module or naming cleanups rather than a daily Terraform wrapper.

How it is used

tfmv is used from a Terraform working tree with replacement rules, regular expressions, or Jsonnet-driven rename logic. The README shows examples such as replacing hyphens with underscores, filtering addresses with include/exclude regular expressions, writing moved blocks to moved.tf or another file, and recursively scanning Terraform files while ignoring directories such as .git and .terraform.

Why package nerds care

For package-manager users, tfmv is a small example of the Terraform ecosystem spawning single-purpose CLIs around state-safe refactoring. Its Homebrew and MacPorts packaging make it convenient for infrastructure engineers who want a one-command tool during large address-renaming migrations.

Timeline

  • 2025: GitHub tags list v0.2.8 in July and v1.0.0 in December.
  • 2026: Homebrew formula metadata lists stable version 1.0.0 with bottled builds.

Related projects

  • Terraform moved blocks
  • Terraform CLI
  • Jsonnet

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 6 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
tfmvcliglobal 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 version1.0.0
manager updated
local dataok
upstreamcurrent
latest detectedv1.0.0

https://github.com/suzuki-shunsuke/tfmv

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tfmv
Version1.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tfmv
Homepagehttps://github.com/suzuki-shunsuke/tfmv
Repositoryhttps://github.com/suzuki-shunsuke/tfmv
Upstream docshttps://github.com/suzuki-shunsuke/tfmv#readme
LicenseMIT
Source archivehttps://github.com/suzuki-shunsuke/tfmv/archive/refs/tags/v1.0.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametfmv
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.

MacPorts95%

tfmv

sudo port install tfmv
  • normalized package name match
  • Matched by: Tfmv
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tfmv/Portfile from https://api.github.com/repos/macports/macports-ports/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