diff --git a/website/content/docs/job-specification/template.mdx b/website/content/docs/job-specification/template.mdx index 7176a4786..99b2228d0 100644 --- a/website/content/docs/job-specification/template.mdx +++ b/website/content/docs/job-specification/template.mdx @@ -278,6 +278,38 @@ task "task" { } ``` +## Nomad Integration + +### Nomad Services + +Nomad service registrations can be queried using the `nomadService` and +`nomadServices` functions. The requests are tied to the same namespace as the +job which contains the template stanza. + +```hcl + template { + data = <