pkg.soopen package index

brew / rank 9190

Install tfmv with Homebrew, MacPorts

CLI to rename Terraform resources and generate moved blocks. Version 1.0.0 via Homebrew; verified 2026-07-26. Also installable with macports: sudo port install tfmv.

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 bottle metadata was recorded.

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
tfmvexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.0.0
manager updated2026-07-26
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tfmv
Version1.0.0
Package managerHomebrew
Homepagehttps://github.com/suzuki-shunsuke/tfmv
Repositoryhttps://github.com/suzuki-shunsuke/tfmv
Last updated2026-07-26T00:50:39+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation