Skip to main content
Version: v1.3

Gcp-Instance

Description

GCP Instance

Specification

Properties

NameDescriptionTypeRequiredDefault
allow_stopping_for_updateIf true, allows Terraform to stop the instance to update its propertiesfalse
cluster_nameName of the DC/OS clustertrue
dcos_instance_osOperating system to use. Instead of using your own AMI you could use a provided OS.true
disk_sizeDisk Size in GBtrue
disk_typeDisk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or 'pd-standard'. (optional)true
guest_accelerator_countCount of guest accelerator typefalse
guest_accelerator_typeType of guest acceleratorfalse
hostname_formatFormat the hostname inputs are index+1, region, cluster_namefalse
imageSource image to boot fromtrue
instance_subnetwork_nameInstance Subnetwork Nametrue
labelsAdd custom labels to all resourcesmapfalse
machine_typeInstance Typetrue
name_prefixName Prefixfalse
num_instancesHow many instances should be createdtrue
public_ssh_keySSH Public Keytrue
scheduling_preemptibleDeploy instance with preemptible scheduling. (bool)false
ssh_private_key_filenamePath to the SSH private keyfalse
ssh_userSSH Usertrue
tagsAdd custom tags to all resourceslistfalse
user_dataUser data to be used on these instances (cloud-init)true
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse
zone_listElement by zone listlisttrue

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse