This commit is contained in:
parent
0294e0fb39
commit
b438d02a11
@ -34,12 +34,10 @@ def main(ctx):
|
|||||||
]
|
]
|
||||||
|
|
||||||
for jinja_template in TEMPLATES:
|
for jinja_template in TEMPLATES:
|
||||||
jinja_template_file = "{name}.tf.jinja".format(name = jinja_template)
|
|
||||||
|
|
||||||
for coder_template in TEMPLATES[jinja_template]:
|
for coder_template in TEMPLATES[jinja_template]:
|
||||||
jinja_commands.append("mkdir {name}".format(name = coder_template))
|
jinja_commands.append("mkdir {name}".format(name = coder_template))
|
||||||
jinja_commands.append(get_jinja_command(
|
jinja_commands.append(get_jinja_command(
|
||||||
jinja_template_file,
|
jinja_template,
|
||||||
"{name}/main.tf".format(name = coder_template),
|
"{name}/main.tf".format(name = coder_template),
|
||||||
TEMPLATES[jinja_template][coder_template],
|
TEMPLATES[jinja_template][coder_template],
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user