mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Clarify templates must pre-exist and cannot come from the container
This commit is contained in:
@@ -46,7 +46,9 @@ API template functions, please see the [Consul Template README][ct].
|
||||
|
||||
- `source` `(string: "")` - Specifies the path to the template to be rendered.
|
||||
One of `source` or `data` must be specified, but not both. This source can
|
||||
optionally be fetched using an [`artifact`][artifact] resource.
|
||||
optionally be fetched using an [`artifact`][artifact] resource. This template
|
||||
must exist on the machine prior to starting the task; it is not possible to
|
||||
reference a template inside of a Docker container, for example.
|
||||
|
||||
- `destination` `(string: required)` - Specifies the location where the resulting template should be rendered, relative to the task directory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user