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
Currently I write string values as: body.SetAttributeValue("name", cty.StringVal(name))
Now I want to support writing interpolations. So if name contains ${var.foo}, I would like attribute to bename = "${var.foo}".
Sadly it seems like SetAttributeValue is always escaping the interpolation as name = "$${var.foo}".
I tried
Currently I write string values as:
body.SetAttributeValue("name", cty.StringVal(name))
Now I want to support writing interpolations. So if
name
contains${var.foo}
, I would like attribute to bename = "${var.foo}"
.Sadly it seems like
SetAttributeValue
is always escaping the interpolation asname = "$${var.foo}"
.I tried
but lose the quoting then.
I have not yet figured out how to write a unescaped interpolated string.
Maybe someone could give me a hint.
Looking at the source code, it seems like there is no single test case for producingVersioning threw me off. Found the tests.$$
:(The text was updated successfully, but these errors were encountered: