https://pulumi.com logo
#typescript
Title
# typescript
e

elegant-crayon-4967

10/28/2021, 3:39 PM
question for the brain trust…I have an SSM Automation Doc. I create the raw yaml, and use handlebars package to inject params from my other pulumi resources. Always worked well until today when I need to use the same convention
{{ assumeRole }}
that handlebars uses for automation doc itself to pass variables back and forth. AKA, I can’t figure out how to escape the double braces to have the literal string
{{ assumerole }}
without it becoming null because handlebars is reading it. I’ve tried many different escape methods using
\
but nothing works. When the template makes it up to AWS all the fields I’ve tried to escape are null
c

clever-painter-96148

10/28/2021, 4:05 PM
Copy code
\{{ assumeRole }}
e

elegant-crayon-4967

10/28/2021, 4:14 PM
I finally got it with single quotes and a backslash
'\{{ assumeRole }}'
Thanks!
😄 1
3 Views