What's the correct way to escape Garden's templati...
# 🤖|ask-kapa
m
Please stand by @blue-kite-93685 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- To escape Garden's templating syntax, you should add an additional
$
in front of the template string. For example, if you want to pass the literal value
${foo}
in a resulting template, you should use
$${foo}
in your Garden configuration. Here's an example from the Garden documentation:
Copy code
yaml
...
command: [ bash ]
args:
  - c
  - |
    ....
    -d '$${foo}'
In this case,
$${foo}
should be rendered as
${foo}
in the resulting template. However, please note that there's an open issue on GitHub where users have reported that this escaping mechanism is not working as expected. For more details, you can refer to the Garden documentation on Config Templates (). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------