From 6226992757975826291954272a650ff2efde423e Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 12 Jun 2018 16:16:39 -0700 Subject: [PATCH] fix file provisioner docs --- website/source/docs/provisioners/file.html.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/source/docs/provisioners/file.html.md b/website/source/docs/provisioners/file.html.md index d2baa868b..abb7f10b9 100644 --- a/website/source/docs/provisioners/file.html.md +++ b/website/source/docs/provisioners/file.html.md @@ -32,7 +32,9 @@ The file provisioner can upload both single files and complete directories. ## Configuration Reference -The available configuration options are listed below. All elements are required. +The available configuration options are listed below. + +### Required - `source` (string) - The path to a local file or directory to upload to the machine. The path can be absolute or relative. If it is relative, it is @@ -48,6 +50,8 @@ 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" +### Optional + - `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