556fb2562f
This PR removes defaulting from the parse, fixes some regressions that existed as part of the parser refactor and fixes the tests.
16 lines
324 B
HCL
16 lines
324 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"
|
|
}
|
|
}
|
|
}
|
|
}
|