builder/googlecompute: split docs for source_image and source_image_family

Also update the example values to currently non-deprecated images.
This commit is contained in:
Peter Schultz 2016-11-14 13:06:41 +01:00
parent bcb319640e
commit 54aa830943
1 changed files with 8 additions and 5 deletions

View File

@ -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"`