This changelog contains a loose collection of changes in every release. I will also try and document all breaking changes to the API.
The format is based on Keep a Changelog.
- Minor dependency updates
- Minor dependency updates
- Allow multiple Terraform variables in the same line (#59)
- Include more helpful error messages on parsing errors (#49)
- Usage message if STDIN is a terminal (#18)
- Support for Mac ARM CPUs
- Support for input that contains HCL expressions that break JSON syntax (#16) - this should make it easier to convert from heredoc to terraform
- Limit escaping of dollar signs to IAM policy variables, don't escape terraform interpolations (#13)
- Parsing of single-statement policies when expressed as a JSON object instead of a JSON object wrapped into an array (#10)
- Add
-version
flag that returns the current version. Thanks @nitrocode for the contribution!
- Support for wildcard-principal
"Principal": "*"
(#2)
- Booleans in JSON are converted to empty-string instead of their real string representation (#2)
- Support for
Condition
with multiple values - Support for
Pricipal
andNotPrincipal
- Flag
-name
to specify the name of the generated policy
Initial Release
- Read IAM Policy JSON from STDIN and write Terraform HCL to STDOUT
- Support for the following properties
Sid
Effect
Action
NotAction
Resource
NotResource
Condition
with single value