diff --git a/website/source/docs/builders/googlecompute.html.md b/website/source/docs/builders/googlecompute.html.md index bc6fc32cb..09f54b9c7 100644 --- a/website/source/docs/builders/googlecompute.html.md +++ b/website/source/docs/builders/googlecompute.html.md @@ -172,10 +172,15 @@ builder. to the region hosting the specified `zone`. - `scopes` (array of strings) - The service account scopes for launched instance. - Defaults to - `["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.full_control"]`. + Defaults to: -- `source_image_project_id` (string) - The project ID of the +``` {.json} +[ "https://www.googleapis.com/auth/userinfo.email", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/devstorage.full_control" ] +``` + +- `source_image_project_id` (string) - The project ID of the project containing the source image. - `startup_script_file` (string) - The filepath to a startup script to run on @@ -194,10 +199,10 @@ builder. - `use_internal_ip` (boolean) - If true, use the instance's internal IP instead of its external IP during building. - + ## Startup Scripts -Startup scripts can be a powerful tool for configuring the instance from which the image is made. +Startup scripts can be a powerful tool for configuring the instance from which the image is made. The builder will wait for a startup script to terminate. A startup script can be provided via the `startup_script_file` or 'startup-script' instance creation `metadata` field. Therefore, the build time will vary depending on the duration of the startup script. If `startup_script_file` is set,