-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect $ parsing as string element #24
Comments
I found the tricky solution. If I use |
Hi @doctornkz, What you are seeing here seems to be an HCL behavior, not a cty behavior. With that said, I believe it's working as intended because it's escaping the |
I solved problem with hcl.Traversal() .Now, I can create templated config file. Ugly, but works good for me. |
@doctornkz do you have an example of your solution? |
@marcsauter take a look here: https://github.com/doctornkz/signalfx2terraform/blob/master/builder/dashboard.go#L79-L84
with |
Thank you so much, that solves out problem. |
How repoduce:
Go to https://play.golang.org/
Put that code there:
Receive:
Expected:
hello = "${world}"
I was trying a couple ways to escape that, but it doesn't work.
The text was updated successfully, but these errors were encountered: