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.
levant plan -log-level=debug -var-file=vars.json -address='${env.NOMAD_URL}' job.nomad
But getting the error:
[ERROR] levant/command: template: jobTemplate:113:21: executing "jobTemplate" at <.job.tasks.resources.cpu>: can't evaluate field resources in type interface {}
I don't understand where is a mistake and why json doesn't parse correctly.
Please help me.
Thank you.
Hello.
I use Levant v0.3.1 and test multiservice task via var-file.
My var-file for multiservice task looks like:
job.nomad looks like:
And I run my job.nomad file:
levant plan -log-level=debug -var-file=vars.json -address='${env.NOMAD_URL}' job.nomad
But getting the error:
[ERROR] levant/command: template: jobTemplate:113:21: executing "jobTemplate" at <.job.tasks.resources.cpu>: can't evaluate field resources in type interface {}I don't understand where is a mistake and why json doesn't parse correctly.
Please help me.
Thank you.