# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 job "template-shared-alloc" { constraint { attribute = "${attr.kernel.name}" value = "linux" } group "template-paths" { task "raw_exec" { driver = "raw_exec" config { command = "/bin/sh" args = ["-c", "sleep 300"] } lifecycle { hook = "prestart" sidecar = true } artifact { source = "https://google.com" destination = "../alloc/google1.html" } template { destination = "${NOMAD_ALLOC_DIR}/${NOMAD_TASK_NAME}.env" data = <