I have a Terraform string. It could be a var. or a local. or an output of some resource. I want to interpolate that string into another string with $ in front. Unfortunately,
"$${var.my_string}"
doesn't work because $${var.my_string} is the escape sequence that tells Terraform not to interpolate var.my_string.
How do I join $ onto the front of an interpolated value?