This commit is contained in:
parent
bb84ca621e
commit
aa0b8ae306
@ -50,7 +50,7 @@ TEMPLATES = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def get_jinja_command(template, output, context):
|
def get_jinja_command(template, output, context):
|
||||||
jinja2args = " ".join(["-D {key}={value}".format(key = key, value = value) for (key, value) in context.items()])
|
jinja2args = " ".join(["-D '{key}={value}'".format(key = key, value = value) for (key, value) in context.items()])
|
||||||
|
|
||||||
return "/usr/local/bin/jinja2 {jinja2args} {template}.tf.jinja > {output}".format(
|
return "/usr/local/bin/jinja2 {jinja2args} {template}.tf.jinja > {output}".format(
|
||||||
jinja2args = jinja2args,
|
jinja2args = jinja2args,
|
||||||
|
|||||||
Reference in New Issue
Block a user