Automic VaultAutomic Vault

brew

terraform-inventory を Homebrew, Nix, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install terraform-inventory

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#terraform-inventory

nixpkgs package indexes · pkgs/by-name/te/terraform-inventory/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install ansible-terraform-inventory

openSUSE Tumbleweed package metadata · ansible-terraform-inventory · ソース: download.opensuse.org

概要

パッケージ概要

Go app which generates a dynamic Ansible inventory from a Terraform state file

コマンドとエイリアス

  • terraform-inventory

履歴

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

terraform-inventory is an early Terraform companion CLI that generates dynamic Ansible inventory from Terraform state. It let teams provision infrastructure with Terraform and then immediately target those resources from Ansible playbooks.

プロジェクトの歴史

The adammck/terraform-inventory repository was created on GitHub in September 2014, making it one of the older Terraform-adjacent tools in this batch. Its README describes it as a small Go app that generates a dynamic Ansible inventory from a Terraform state file so users can spawn instances with Terraform and then reprovision them with Ansible.

The project released v0.1 and v0.2 in September 2014 and continued adding provider support across cloud and virtualization platforms, including AWS, DigitalOcean, Google Compute Engine, OpenStack, Docker, VMware, Hetzner Cloud, Linode, Proxmox, and others. By the README's own note, the library was stable but had been neglected because the maintainer no longer used Ansible at work.

採用の歴史

terraform-inventory reflects an important early Terraform adoption pattern: Terraform handled infrastructure creation, while Ansible still handled configuration management. Before provider ecosystems, cloud-init practices, and Terraform-native workflows matured, bridging Terraform state into Ansible inventory solved a practical day-two automation problem.

The input package facts list Homebrew, Nix, and zypper packaging, and the README includes a Homebrew badge and Homebrew installation instructions. That packaging footprint is notable for an older Go utility whose primary interface is simply being executable by `ansible-playbook` as an inventory script.

使われ方

The basic usage is to point Ansible at the `terraform-inventory` executable with `--inventory-file`; the tool discovers `terraform.tfstate`, pulls remote state from a Terraform directory, or honors environment variables such as `TF_STATE` and `TI_TFSTATE`. It maps Terraform resource names, provider metadata, and selected IP fields into Ansible host groups.

The README documents additional environment variables such as `TF_KEY_NAME` and `TF_HOSTNAME_KEY_NAME` for choosing private IPs or alternate hostnames. That interface is very much of the Unix CLI style: no daemon, no central service, just state in and inventory JSON out.

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

terraform-inventory matters historically because it captures the moment when Terraform and Ansible were commonly paired rather than treated as competing tools. For package nerds, it is a compact example of how early infrastructure CLIs were distributed: a static-ish Go binary, release archives, Homebrew formula, and distro packages.

It is less central in newer Terraform workflows, but its design remains recognizable: read Terraform state, produce another tool's expected machine-readable interface, and make the glue installable from a package manager.

タイムライン

  • 2014: GitHub repository created.
  • 2014: v0.1 and v0.2 releases published.
  • 2015: v0.3 through v0.6 pre-releases published.
  • 2019: v0.9 released.
  • 2021: v0.10 listed as the latest GitHub release during research.
  • 2025: Repository still showed recent push activity during research.

Related projects

  • The README positions terraform-inventory between Terraform and Ansible. It also names many supported Terraform providers, reflecting the project's role as a provider-state adapter rather than a Terraform provider itself.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/adammck/terraform-inventory

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:terraform-inventory
バージョン0.10
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/terraform-inventory
ホームページhttps://github.com/adammck/terraform-inventory
リポジトリhttps://github.com/adammck/terraform-inventory
上流ドキュメントhttps://github.com/adammck/terraform-inventory#readme
ライセンスMIT
ソースアーカイブhttps://github.com/adammck/terraform-inventory/archive/refs/tags/v0.10.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

terraform-inventory

nix profile install nixpkgs#terraform-inventory
  • normalized package name match
  • 一致条件: Terraform Inventory
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-inventory/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

ansible-terraform-inventory 0.10-3.5

Generate a dynamic Ansible inventory from a Terraform state file

https://github.com/adammck/terraform-inventory

sudo zypper install ansible-terraform-inventory
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ansible-terraform-inventory
  • 2 提供
  • normalized package name match
  • 一致条件: Terraform Inventory
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ansible-terraform-inventory from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

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

このページは 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment