Parameter |
Choices/Defaults |
Comments |
automatic_restart
|
|
Defines whether the instance should be automatically restarted when it is terminated by Compute Engine.
|
can_ip_forward
bool |
|
Set to yes to allow instance to send/receive non-matching src/dst packets.
|
credentials_file
|
|
path to the JSON file associated with the service account email
|
description
|
|
description of instance template
|
disk_auto_delete
|
Default:
"yes"
|
Indicate that the boot disk should be deleted when the Node is deleted.
|
disk_type
|
Default:
"pd-standard"
|
Specify a pd-standard disk or pd-ssd for an SSD disk.
|
disks
|
|
a list of persistent disks to attach to the instance; a string value gives the name of the disk; alternatively, a dictionary value can define 'name' and 'mode' ('READ_ONLY' or 'READ_WRITE'). The first entry will be the boot disk (which must be READ_WRITE).
|
disks_gce_struct
(added in 2.4) |
|
|
external_ip
|
Default:
"ephemeral"
|
The external IP address to use. If ephemeral , a new non-static address will be used. If None , then no external address will be used. To use an existing static IP address specify address name.
|
image
|
|
The image to use to create the instance. Cannot specify both both image and source.
|
image_family
|
|
The image family to use to create the instance. If image has been used image_family is ignored. Cannot specify both image and source.
|
metadata
|
|
a hash/dictionary of custom data for the instance; '{"key":"value", ...}'
|
name
|
|
The name of the GCE instance template.
|
network
|
Default:
"default"
|
The network to associate with the instance.
|
nic_gce_struct
|
|
Support passing in the GCE-specific formatted networkInterfaces[] structure.
|
pem_file
|
|
path to the pem file associated with the service account email This option is deprecated. Use 'credentials_file'.
|
preemptible
|
|
Defines whether the instance is preemptible.
|
project_id
|
|
your GCE project ID
|
service_account_email
|
|
service account email
|
service_account_permissions
|
Choices:
- bigquery
- cloud-platform
- compute-ro
- compute-rw
- useraccounts-ro
- useraccounts-rw
- datastore
- logging-write
- monitoring
- sql-admin
- storage-full
- storage-ro
- storage-rw
- taskqueue
- userinfo-email
|
|
size
|
Default:
"f1-micro"
|
The desired machine type for the instance template.
|
source
|
|
A source disk to attach to the instance. Cannot specify both image and source.
|
state
|
Choices:
present ←
- absent
|
The desired state for the instance template.
|
subnetwork
|
|
The Subnetwork resource name for this instance.
|
subnetwork_region
(added in 2.4) |
|
Region that subnetwork resides in. (Required for subnetwork to successfully complete)
|
tags
|
|
a comma-separated list of tags to associate with the instance
|