github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/tg-service-connect-sidecar_task-name.hcl (about)

     1  job "sidecar_task_name" {
     2    type = "service"
     3  
     4    group "group" {
     5      service {
     6        name = "example"
     7  
     8        connect {
     9          sidecar_service {}
    10  
    11          sidecar_task {
    12            name = "my-sidecar"
    13          }
    14        }
    15      }
    16    }
    17  }