Skip to main content



Create DC/OS Private Agents instance and have conditional DC/OS Prereqs for gcp



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.false
disk_sizeDisk Size in GBfalse
disk_typeDisk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or 'pd-standard'. (optional)false
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 fromfalse
labelsAdd custom labels to all resourcesmapfalse
machine_typeInstance Typefalse
name_prefixName Prefixfalse
num_private_agentsSpecify the amount of private agents. These agents will provide your main resourcestrue
private_agent_subnetwork_nameInstance Subnetwork Nametrue
public_ssh_keySSH Public Keytrue
scheduling_preemptibleDeploy instance with preemptible schedulingfalse
ssh_userSSH Usertrue
tagsAdd custom tags to all resourceslistfalse
user_dataUser data to be used on these instances (cloud-init)false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse
zone_listElement by zone listlisttrue


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