open-nomad/jobspec/test-fixtures/parameterized_job.hcl

20 lines
376 B
HCL
Raw Normal View History

job "parameterized_job" {
2017-01-20 20:46:04 +00:00
parameterized {
2016-12-14 20:50:08 +00:00
payload = "required"
2016-11-23 23:48:36 +00:00
meta_keys {
required = ["foo", "bar"]
optional = ["baz", "bam"]
}
}
group "foo" {
task "bar" {
driver = "docker"
resources {}
dispatch_input {
file = "foo/bar"
}
}
}
}