IAM JSON to Terraform HCL

?

Learn more about this tool
What is this?
This tool converts standard IAM policies in JSON format (like what you'd find in the AWS docs) into Terraform native aws_iam_policy_document data source code
I'm not a fan of the web or have a lot of files to convert, can I use this on the command line?
Yes you can! The tool exists as a CLI version as well as a web version
I often copy-paste policies from documentation on the Web, is there an easier way to do this?
Yes! Drag this bookmarklet to your bookmark bar to convert in one click, on any page
>