github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/parameterized_job.hcl (about)

     1  job "parameterized_job" {
     2    parameterized {
     3      payload       = "required"
     4      meta_required = ["foo", "bar"]
     5      meta_optional = ["baz", "bam"]
     6    }
     7  
     8    group "foo" {
     9      task "bar" {
    10        driver = "docker"
    11  
    12        dispatch_payload {
    13          file = "foo/bar"
    14        }
    15      }
    16    }
    17  }