open-nomad/jobspec/test-fixtures/parameterized_job.hcl
2017-01-25 21:27:44 -08:00

18 lines
350 B
HCL

job "parameterized_job" {
parameterized {
payload = "required"
meta_required = ["foo", "bar"]
meta_optional = ["baz", "bam"]
}
group "foo" {
task "bar" {
driver = "docker"
resources {}
dispatch_payload {
file = "foo/bar"
}
}
}
}