open-nomad/jobspec/test-fixtures/parameterized_job.hcl
2023-04-10 15:36:59 +00:00

21 lines
346 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
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"
}
}
}
}