Clarify documentation for template file function (#11798)

pull/11829/head
Vasili 4 years ago committed by GitHub
parent c99b300e3a
commit b9c28c7a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ type Config struct {
// This is the content to copy to `destination`. If destination is a file,
// content will be written to that file, in case of a directory a file named
// `pkr-file-content` is created. It's recommended to use a file as the
// destination. A template_file might be referenced in here, or any
// destination. The `templatefile` function might be used here, or any
// interpolation syntax. This attribute cannot be specified with source or
// sources.
Content string `mapstructure:"content" required:"true"`

@ -3,7 +3,7 @@
- `content` (string) - This is the content to copy to `destination`. If destination is a file,
content will be written to that file, in case of a directory a file named
`pkr-file-content` is created. It's recommended to use a file as the
destination. A template_file might be referenced in here, or any
destination. The `templatefile` function might be used here, or any
interpolation syntax. This attribute cannot be specified with source or
sources.

Loading…
Cancel
Save