question for the brain trust…I have an SSM Automat...
# typescript
e
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
Copy code
\{{ assumeRole }}
e
I finally got it with single quotes and a backslash
'\{{ assumeRole }}'
Thanks!
😄 1