iam-policy-json-to-terraform
« Back to VersTracker
Description:
Convert a JSON IAM Policy into terraform
Type: Formula  |  Latest Version: 1.9.2@0  |  Tracked Since: Oct 19, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: aws terraform iam devops json
Install: brew install iam-policy-json-to-terraform
About:
This tool converts AWS IAM policy JSON documents into Terraform aws_iam_policy_document data source blocks. It automates the translation process, ensuring syntax correctness and saving time when migrating infrastructure configurations to Terraform.
Key Features:
  • Parses standard AWS IAM policy JSON
  • Generates HCL for aws_iam_policy_document
  • Handles complex statements and wildcards
  • CLI-based for easy scripting
Use Cases:
  • Migrating existing AWS IAM policies to Terraform
  • Generating Terraform code from policy snapshots
  • Validating policy structure via code generation
Alternatives:
  • Manual Conversion – Manual conversion is error-prone and time-consuming compared to this automated tool.
Version History
Detected Version Rev Change Commit
Oct 19, 2025 10:20am 0 VERSION_BUMP 89cb8a0e
Sep 12, 2025 9:45am 0 VERSION_BUMP e9665dde
Sep 14, 2024 5:54am 0 VERSION_BUMP 48104abe