modify docstring

This commit is contained in:
Rens Sikma 2020-02-20 12:54:35 +01:00
parent c8062cc8b3
commit 3d8bda31a4
2 changed files with 4 additions and 2 deletions

View File

@ -149,7 +149,8 @@ type Config struct {
// family always returns its latest image that is not deprecated. Example:
// "debian-8".
SourceImageFamily string `mapstructure:"source_image_family" required:"true"`
// The project ID's of the project containing the source image.
// A list of project IDs to search for the source image. Packer will search the first
// project ID in the list first, and fall back to the next in the list, until it finds the source image.
SourceImageProjectId []string `mapstructure:"source_image_project_id" required:"false"`
// The path to a startup script to run on the VM from which the image will
// be made.

View File

@ -108,7 +108,8 @@
project's default service account unless disable_default_service_account
is true.
- `source_image_project_id` ([]string) - The project ID's of the project containing the source image.
- `source_image_project_id` ([]string) - A list of project IDs to search for the source image. Packer will search the first
project ID in the list first, and fall back to the next in the list, until it finds the source image.
- `startup_script_file` (string) - The path to a startup script to run on the VM from which the image will
be made.