From 54aa8309434194ce09b7344b3e6f2893bb1a2c82 Mon Sep 17 00:00:00 2001 From: Peter Schultz Date: Mon, 14 Nov 2016 13:06:41 +0100 Subject: [PATCH] builder/googlecompute: split docs for source_image and source_image_family Also update the example values to currently non-deprecated images. --- website/source/docs/builders/googlecompute.html.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/website/source/docs/builders/googlecompute.html.md b/website/source/docs/builders/googlecompute.html.md index bbc9a5459..0b49bfe2e 100644 --- a/website/source/docs/builders/googlecompute.html.md +++ b/website/source/docs/builders/googlecompute.html.md @@ -125,11 +125,14 @@ builder. - `project_id` (string) - The project ID that will be used to launch instances and store images. -- `source_image` or `source_image_family` (string) - The source image or - family to use to create the new image from. The image family always returns - its latest image that is not deprecated. If both `source_image` and - `source_image_family` are specified, `source_image` takes precedence. - Example: `"debian-7-wheezy-v20150127"`, `"debian-7"`. +- `source_image` (string) - The source image to use to create the new image + from. You can also specify `source_image_family` instead. If both + `source_image` and `source_image_family` are specified, `source_image` + takes precedence. Example: `"debian-8-jessie-v20161027"` + +- `source_image_family` (string) - The source image family to use to create + the new image from. The image family always returns its latest image that + is not deprecated. Example: `"debian-8"`. - `zone` (string) - The zone in which to launch the instance used to create the image. Example: `"us-central1-a"`