macOS
brew install iam-policy-json-to-terraformlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für iam-policy-json-to-terraform in AI-Agent-Workflows.
Installation
brew install iam-policy-json-to-terraformlocal Homebrew formula metadata
nix profile install nixpkgs#iam-policy-json-to-terraformnixpkgs package indexes · pkgs/by-name/ia/iam-policy-json-to-terraform/package.nix · Quelle: api.github.com
Überblick
Convert a JSON IAM Policy into terraform
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
iam-policy-json-to-terraform | cli | globales Executable |
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.
https://github.com/flosell/iam-policy-json-to-terraform
Installationsmetadaten
| Paketschlüssel | brew:iam-policy-json-to-terraform |
|---|---|
| Version | 1.9.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/iam-policy-json-to-terraform |
| Homepage | https://flosell.github.io/iam-policy-json-to-terraform/ |
| Repository | https://github.com/flosell/iam-policy-json-to-terraform |
| Upstream-Dokumentation | https://github.com/flosell/iam-policy-json-to-terraform#readme |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/flosell/iam-policy-json-to-terraform/archive/refs/tags/1.9.2.tar.gz |
| Zuletzt aktualisiert | 2026-07-25T20:57:18-04:00 |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iam-policy-json-to-terraform |
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
iam-policy-json-to-terraform
nix profile install nixpkgs#iam-policy-json-to-terraformQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.