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
{{ message }}
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
add option for strict mode during render
If/when a variable is not defined during rendering, cause the render to fail with non-zero rather than continue.
Levant v0.3.0-beta1 (bb0922f6)
$ levant render -var-file curdate.default.json -var "curdate1=$(date +'%Y-%m-%d')" curdate.tpl
2021-01-21T07:29:25-08:00 |INFO| helper/variable: using command line variable with key curdate1 and value 2021-01-21
2021-01-21T07:29:25-08:00 |INFO| helper/variable: using variable with key something and value foo from file
2021-01-21T07:29:25-08:00 |INFO| helper/variable: using variable with key anything and value bar from file
<no value>
foo
bar
$ echo $?
0
add option for strict mode during render
If/when a variable is not defined during rendering, cause the
renderto fail with non-zero rather than continue.Relevant Nomad job specification file
Output of
levant version:notice purposeful typo of input variable
curdateOutput of
consul version:Output of
nomad version: