This repository was archived by the owner on Jan 21, 2020. It is now read-only.
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
Infrakit template
command different from utils init
#729
Open
Description
It seems that processing template actions via infrakit template
is different from infrakit utils init
w.r.t. passing in vars.
For example:
{{ include (cat (var `filename`) `.txt` | nospace ) | jsonDecode }}
processes differently when using the commands:
infrakit template --var filename=... target.json
include
action is inside target.json.
infrakit util init --var filename=... target.json
include
action is inside the script specified in theInitScriptTemplateURL
parameter of target.json
I would expect that both commands does the var
replacement from the specified --var
in the command line.
However, I observe that only the template
command correctly does the var replacement and the utils init
command results in an error:
include: open /home/ubuntu/{{var`filename`}}.txt: no such file or directory
Thanks!
Metadata
Metadata
Assignees
Labels
No labels