You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a multiline string, which is rendered into a HEREDOC for HCL output, the quotes should not be escaped.
Vault policy or AWS IAM policy render invalid.
Actual Behavior
Synth renders invalid strings, that are causing errors to apply at Vault or AWS.
Code: 400. Errors: * failed to parse policy: At 2:19: illegal char
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Expected Behavior
For a multiline string, which is rendered into a HEREDOC for HCL output, the quotes should not be escaped.
Vault policy or AWS IAM policy render invalid.
Actual Behavior
Synth renders invalid strings, that are causing errors to apply at Vault or AWS.
Steps to Reproduce
Results into:
cdktf synth -hcl
Note the escaped quotes:
Versions
language Golang
"version": "0.20.8"
same problem with 0.21.0-pre.123
Providers
Workarounds
try to use a single line statement, like a minified json.
Anything Else?
No response
References
try the example of https://github.com/ahmadalibagheri/cdktf-go-aws-iam
Community Note
The text was updated successfully, but these errors were encountered: