add warning to generated feature in file provisioner

This commit is contained in:
Megan Marsh 2018-04-05 16:12:20 -07:00
parent 56dd8cdb63
commit 6da6ea74de

View File

@ -48,8 +48,13 @@ The available configuration options are listed below. All elements are required.
"upload". If it is set to "download" then the file "source" in the machine
will be downloaded locally to "destination"
- `generated` (boolean) - If true, check the file existence only before uploading.
This allows to upload files created on-the-fly. This defaults to false.
- `generated` (boolean) - For advanced users only. If true, check the file
existence only before uploading, rather than upon pre-build validation.
This allows to upload files created on-the-fly. This defaults to false. We
don't recommend using this feature, since it can cause Packer to become
dependent on system state. We would prefer you generate your files before
the Packer run, but realize that there are situations where this may be
unavoidable.
## Directory Uploads