Automic VaultAutomic Vault

brew

iam-policy-json-to-terraform を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install iam-policy-json-to-terraform

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#iam-policy-json-to-terraform

nixpkgs package indexes · pkgs/by-name/ia/iam-policy-json-to-terraform/package.nix · ソース: api.github.com

概要

パッケージ概要

Convert a JSON IAM Policy into terraform

コマンドとエイリアス

  • iam-policy-json-to-terraform

履歴

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

iam-policy-json-to-terraform is a small Go-based converter that turns AWS IAM policy JSON into Terraform aws_iam_policy_document HCL. It exists for the practical infrastructure-as-code chore of translating policies copied from AWS documentation, consoles, or existing files into Terraform-native data sources.

プロジェクトの歴史

The GitHub repository was created on April 28, 2018, and the changelog records version 1.0.0 on the same date as the initial release. That release read IAM policy JSON from standard input and wrote Terraform HCL to standard output, with support for core IAM policy properties such as Sid, Effect, Action, Resource, and Condition.

The project expanded through small, targeted releases: version 1.1.0 added Condition support with multiple values and a -name flag, version 1.2.0 added wildcard-principal support, version 1.6.0 improved conversion of heredoc-style policy input containing HCL expressions, and version 1.9.0 stopped generating empty sid entries when missing from input JSON.

採用の歴史

The README and project site present both a web version and a command-line version, which helped the tool serve quick one-off conversions as well as automation. GitHub repository metadata showed hundreds of stars by 2026, and the Homebrew formula packaged it as a CLI with macOS and Linux bottles.

Its adoption niche is Terraform users working with AWS IAM policies, especially when policy JSON comes from AWS examples or preexisting infrastructure and needs to become an aws_iam_policy_document block rather than a raw JSON blob.

使われ方

The README shows piping raw JSON into iam-policy-json-to-terraform or redirecting a policy file through standard input. The output is Terraform HCL for an aws_iam_policy_document data source.

The tool is deliberately narrow: it converts one policy representation into another. It does not manage AWS resources or run Terraform, which keeps it useful in scripts, editor workflows, and migration chores.

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

Package nerds care about this package as an example of a tiny IaC workflow tool that became useful enough for Homebrew and Nix packaging. Its value comes from removing a repetitive translation step rather than from being a platform.

タイムライン

  • 2018: Repository created and 1.0.0 released with stdin JSON to stdout HCL conversion.
  • 2018: 1.1.0 added multi-value Condition handling and a generated-policy name flag.
  • 2019: 1.2.0 added wildcard-principal support.
  • 2020: 1.6.0 improved conversion of heredoc input containing HCL expressions.
  • 2025: 1.9.0 changed missing Sid handling; 1.9.2 added a Linux ARM64 build target.

Related projects

  • The tool is directly related to Terraform, the AWS provider's aws_iam_policy_document data source, and AWS IAM JSON policy documents.
  • Adjacent tools include Terraform import and broader infrastructure converters, but this project intentionally focuses on IAM policy document conversion.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
iam-policy-json-to-terraformcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.9.2
マネージャ更新日2026-06-15
ローカルデータOK
上流最新
検出された最新1.9.2

https://github.com/flosell/iam-policy-json-to-terraform

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:iam-policy-json-to-terraform
バージョン1.9.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/iam-policy-json-to-terraform
ホームページhttps://flosell.github.io/iam-policy-json-to-terraform/
リポジトリhttps://github.com/flosell/iam-policy-json-to-terraform
上流ドキュメントhttps://github.com/flosell/iam-policy-json-to-terraform#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/flosell/iam-policy-json-to-terraform/archive/refs/tags/1.9.2.tar.gz
最終更新2026-06-15T10:20:18-04:00
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 Nameiam-policy-json-to-terraform
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%

iam-policy-json-to-terraform

nix profile install nixpkgs#iam-policy-json-to-terraform
  • normalized package name match
  • 一致条件: Iam Policy JSON To Terraform
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ia/iam-policy-json-to-terraform/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

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

このページは 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