Automic VaultAutomic Vault

brew

iam-policy-json-to-terraform mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für iam-policy-json-to-terraform in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install iam-policy-json-to-terraform

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#iam-policy-json-to-terraform

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

Überblick

Paketzusammenfassung

Convert a JSON IAM Policy into terraform

Befehle und Aliase

  • iam-policy-json-to-terraform

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

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

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
iam-policy-json-to-terraformcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-26
Manager-Version1.9.2
Manager aktualisiert2026-07-25
lokale DatenOK
Upstreamaktuell
neueste erkannte Version1.9.2

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

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:iam-policy-json-to-terraform
Version1.9.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/iam-policy-json-to-terraform
Homepagehttps://flosell.github.io/iam-policy-json-to-terraform/
Repositoryhttps://github.com/flosell/iam-policy-json-to-terraform
Upstream-Dokumentationhttps://github.com/flosell/iam-policy-json-to-terraform#readme
LizenzApache-2.0
Quellarchivhttps://github.com/flosell/iam-policy-json-to-terraform/archive/refs/tags/1.9.2.tar.gz
Zuletzt aktualisiert2026-07-25T20:57:18-04:00
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

iam-policy-json-to-terraform

nix profile install nixpkgs#iam-policy-json-to-terraform
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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