open-nomad/jobspec/test-fixtures/parameterized_job.hcl
2019-10-11 14:00:05 +02:00

18 lines
278 B
HCL

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