Clarify templates must pre-exist and cannot come from the container

This commit is contained in:
Seth Vargo 2016-10-31 16:39:06 -04:00
parent 693baf2525
commit e3be0e6509
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 3 additions and 1 deletions

View File

@ -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.