# tfautomv を Homebrew, Nix でインストール

tfautomv のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tfautomv
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tfautomv
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tfautomv
```

  証拠: nixpkgs package indexes: pkgs/by-name/tf/tfautomv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:tfautomv
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.0
- **ソース概要:** Generate Terraform moved blocks automatically for painless refactoring
- **ホームページ:** <https://github.com/busser/tfautomv>
- **リポジトリ:** <https://github.com/busser/tfautomv>
- **最終更新:** 2026-07-26T00:50:38+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tfautomv (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- Official git tags and commit history from https://github.com/busser/tfautomv
- <https://github.com/busser/tfautomv/blob/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - tfautomv: normalized package name match | nixpkgs package indexes: pkgs/by-name/tf/tfautomv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tfautomv.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tfautomv.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
