Akarat Tools
AWS Policy Converter
JSON to Jsonnet
HCL to JSON
YAML Navigator
Kubernetes YAML Diff
Clash Extractor
AWS IAM Policy to Terraform HCL Converter
Transform your AWS IAM policies into elegant Terraform HCL with precision and ease. Perfect for modern infrastructure as code workflows.
Input AWS IAM Policy (JSON)
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::example-bucket", "arn:aws:s3:::example-bucket/*" ] } ] }
Policy Document HCL
Resource HCL
Convert Policy
Copy Policy Doc
Copy Resource