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
I recently needed to add an AWS SSM Document to one of my CloudFormation Stacks managed by Qaz. Due to the use of the Jinja-style for variable syntax "{{ variable }}" in SSM documents as well I now get Gen-Time errors "function variable not defined". I know I could change the qaz delimiters by setting a different gen_time value in config.yml but this would lead to different settings in different projects which might confuse my collegues also working on my templates.
My first idea to workaround this was to implement a function rendering a "string" to "{{ string }}" at Gen-time but I would prefer using quotes if possible.
Does anyone know a better way to address this issue?
The text was updated successfully, but these errors were encountered:
You can definitely quote delimiters by using what I call double wrapping.. For example,
say I want {{ variable }} to be represented literally in my config file. I would do the following.
{{ "{{ variable }}" }}
This would literally evaluate to {{ variable }} when executed.
I recently needed to add an AWS SSM Document to one of my CloudFormation Stacks managed by Qaz. Due to the use of the Jinja-style for variable syntax "{{ variable }}" in SSM documents as well I now get Gen-Time errors "function variable not defined". I know I could change the qaz delimiters by setting a different
gen_time
value inconfig.yml
but this would lead to different settings in different projects which might confuse my collegues also working on my templates.My first idea to workaround this was to implement a function rendering a "string" to "{{ string }}" at Gen-time but I would prefer using quotes if possible.
Does anyone know a better way to address this issue?
The text was updated successfully, but these errors were encountered: