macOS
brew install tfautomvlocal Homebrew formula metadata
安装
brew install tfautomvlocal Homebrew formula metadata
nix profile install nixpkgs#tfautomvnixpkgs package indexes · pkgs/by-name/tf/tfautomv/package.nix · 来源: api.github.com
概览
Generate Terraform moved blocks automatically for painless refactoring
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tfautomv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/busser/tfautomv
安装元数据
| 软件包键 | brew:tfautomv |
|---|---|
| 版本 | 0.7.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tfautomv |
| 主页 | https://github.com/busser/tfautomv |
| 仓库 | https://github.com/busser/tfautomv |
| 上游文档 | https://github.com/busser/tfautomv#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/busser/tfautomv/archive/refs/tags/v0.7.0.tar.gz |
| 最后更新 | 2026-06-22T14:06:28-07:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tfautomv
nix profile install nixpkgs#tfautomv来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.