Automic VaultAutomic Vault

brew

tfclean を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install tfclean

local Homebrew formula metadata

概要

パッケージ概要

Remove applied moved block, import block, etc

コマンドとエイリアス

  • tfclean

履歴

プロジェクトの歴史と使われ方

tfclean is a Terraform cleanup CLI that removes applied `moved`, `import`, and `removed` blocks from configuration files. It targets the maintenance phase after refactors or imports have already been applied.

プロジェクトの歴史

The repository began in June 2024 with an initial implementation, README, and import-block support. v0.0.1 was tagged on 2024-07-01, and the changelog shows rapid iteration through parsing fixes and support for more Terraform block types.

By v0.0.4 the project had support for `removed` blocks and forced removal of all block types. Later releases added flags, pre-commit support, GitHub Action installation, aqua installation docs, S3 backend auto-detection, and parser refactoring.

採用の歴史

The README documents installation through the author's Homebrew tap, `go install`, aqua, GitHub Actions, and release binaries. It also includes a GitHub Actions workflow that runs tfclean and opens a pull request when cleanup changes are detected.

使われ方

Users point `tfclean` at a directory of Terraform files to remove all relevant blocks, or pass `--tfstate` so it removes only blocks that have already been applied. With S3 backends, the tool can detect state location from Terraform backend configuration in `.tf` files.

パッケージ好きにとっての重要性

tfclean is a package-nerd maintenance tool: it exists because modern Terraform/OpenTofu workflows produce temporary declarative migration blocks that should eventually disappear. Installing it as a CLI or GitHub Action lets teams automate that cleanup without hand-editing HCL.

タイムライン

  • 2024-06-24: Repository initialized
  • 2024-06-27: Import-block support commit
  • 2024-07-01: v0.0.1 release
  • 2024-08-31: v0.0.4 added removed-block and force-removal work
  • 2025-07-19: v0.0.10 added GitHub Action support
  • 2025-11-30: v0.0.15 added S3 backend auto-detection
  • 2026-05-14: v0.0.18 release

Related projects

  • Terraform supplies the configuration files and state model tfclean inspects.
  • GitHub Actions integration is documented for automated cleanup pull requests.
  • aqua is documented as a declarative CLI version-manager installation path.

セキュリティ状態

保護ツール対応はまだ見つかっていません

tfclean に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
tfcleancliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.0.19
マネージャ更新日2026-07-09
ローカルデータOK
上流最新
検出された最新v0.0.19

https://github.com/takaishi/tfclean

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:tfclean
バージョン0.0.19
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/tfclean
ホームページhttps://github.com/takaishi/tfclean
リポジトリhttps://github.com/takaishi/tfclean
上流ドキュメントhttps://github.com/takaishi/tfclean#readme
ライセンスMIT
ソースアーカイブhttps://github.com/takaishi/tfclean/archive/refs/tags/v0.0.19.tar.gz
最終更新2026-07-09T15:37:37Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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