Iam Policy Json To Terraform Versions Save

Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document

1.8.2

1 year ago

Changed

  • Minor dependency updates

1.8.1

1 year ago

Changed

  • Minor dependency updates

Fixed

  • Allow multiple Terraform variables in the same line (#59)
  • Include more helpful error messages on parsing errors (#49)

1.8.0

2 years ago

Added

  • Usage message if STDIN is a terminal (#18)

1.7.0

3 years ago

Added

  • Support for Mac ARM CPUs

1.6.0

3 years ago

Added

  • Support for input that contains HCL expressions that break JSON syntax (#16) - this should make it easier to convert from heredoc to terraform

1.5.0

3 years ago

Fixed

  • Limit escaping of dollar signs to IAM policy variables, don't escape terraform interpolations (#13)

1.4.0

4 years ago

Fixed

  • Parsing of single-statement policies when expressed as a JSON object instead of a JSON object wrapped into an array (#10)

1.3.0

4 years ago

Added

  • Add -version flag that returns the current version. Thanks @nitrocode for the contribution!

1.2.0

5 years ago

Added

  • Support for wildcard-principal "Principal": "*" (#2)

Fixed

  • Booleans in JSON are converted to empty-string instead of their real string representation (#2)

1.1.0

6 years ago

Added

  • Support for Condition with multiple values
  • Support for Pricipal and NotPrincipal
  • Flag -name to specify the name of the generated policy