Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document
774
stars
58
forks
source link
Be able to convert documents that have embedded terraform interpolations that break JSON parsing #16
Closed
flosell closed 3 years ago
(triggered by #13)
When writing policy JSONs inline as heredoc, one often includes terraform interpolations for certain values, e.g.
In this example, the extra quotes inside the interpolation make this invalid JSON, we can't parse it.