Open flosell opened 4 years ago
(triggered by #13)
When writing policy JSONs inline as heredoc, one often includes terraform expressions for certain values, e.g.
"Resource": ["${aws_kms_key.key.arn}"]
Currently, those are converted into normal string arrays with interpolations, e.g.
resources = ["${aws_kms_key.key.arn}"]
Since terraform 0.12, there's a more elegant way to express this, would be nice for iam-policy-json-to-terraform to render them:
iam-policy-json-to-terraform
resources = [ aws_kms_key.key.arn ]
(triggered by #13)
When writing policy JSONs inline as heredoc, one often includes terraform expressions for certain values, e.g.
Currently, those are converted into normal string arrays with interpolations, e.g.
Since terraform 0.12, there's a more elegant way to express this, would be nice for
iam-policy-json-to-terraform
to render them: