Commit 0da1f2d8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/googlecompute: template process instance name

parent 2f4e3a55
......@@ -102,6 +102,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
"client_secrets_file": &c.ClientSecretsFile,
"image_name": &c.ImageName,
"image_description": &c.ImageDescription,
"instance_name": &c.InstanceName,
"machine_type": &c.MachineType,
"network": &c.Network,
"passphrase": &c.Passphrase,
......
......@@ -96,6 +96,9 @@ Optional:
* `image_description` (string) - The description of the resulting image.
* `instance_name` (string) - A name to give the launched instance. Beware
that this must be unique. Defaults to "packer-{{uuid}}".
* `machine_type` (string) - The machine type. Defaults to `n1-standard-1`.
* `network` (string) - The Google Compute network to use for the launched
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment