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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
346 B
HCL
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
job "parameterized_job" {
2019-10-11 12:00:05 +00:00
parameterized {
payload = "required"
meta_required = ["foo", "bar"]
meta_optional = ["baz", "bam"]
}
group "foo" {
task "bar" {
driver = "docker"
dispatch_payload {
file = "foo/bar"
}
2016-11-23 23:48:36 +00:00
}
2019-10-11 12:00:05 +00:00
}
2016-11-23 23:48:36 +00:00
}