masters

dcos-terraform/masters/gcp

Terraform Module HCL GCP

Create DC/OS Master instance and have conditional DC/OS Prereqs for GCP

Install
module "masters" {
source = "dcos-terraform/masters/gcp"
version = "0.3.0"
}
plain text: /constructs/tfmod-dcos-terraform-masters-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Build Status](https://jenkins-terraform.mesosphere.com/service/dcos-terraform-jenkins/job/dcos-terraform/job/terraform-gcp-masters/job/master/) DC/OS Instances Creates DC/OS Master intances Usage ``hcl module "masters" { source = "dcos-terraform/instance/gcp" version = "~> 0.2.0" num_instance = "${var.instances_count}" disk_size = "${var.gcp_instances_disk_size}" disk_type = "${var.gcp_instances_disktype}" region = "${var.gcp_region}" machine_type = "${var.gcp_instances_gce_type}" cluster_name = "${var.cluster_name}" public_ssh_key = "${var.gcp_ssh_key}" instances_subnetwork_name = "${module.network.instances_subnetwork_name}" instances_targetpool_self_link = "${module.network.instances_targetpool_self_link}" customer_image = "${var.image}" region = "${var.gcp_region}" zone_list = "${dat

Inputs (15)
NameTypeDescriptionDefault
ssh_userstringSSH User required
public_ssh_keystringSSH Public Key required
master_subnetwork_namestringMaster Subnetwork Name required
num_mastersstringSpecify the amount of masters. For redundancy you should have at least 3 required
cluster_namestringName of the DC/OS cluster required
disk_typestringDisk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or required
disk_sizestringDisk Size in GB required
machine_typestringInstance Type required
imagestringSource image to boot from required
labelsmap(string)Add custom labels to all resources{}
zone_listlist(string)Element by zone list[]
user_datastringUser data to be used on these instances (cloud-init)""
dcos_instance_osstringOperating system to use. Instead of using your own AMI you could use a provided "centos_7.5"
tagslist(string)Add custom tags to all resources[]
hostname_formatstringFormat the hostname inputs are index+1, region, cluster_name"%[3]s-master%[1]d-%[2]s"
Outputs (16)
name_prefix — Name Prefix
disk_type — Disk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or 'pd-standard'. (opt
master_subnetwork_name — Master Subnetwork Name
num_masters — Specify the amount of masters. For redundancy you should have at least 3
private_ips — List of private ip addresses created by this module
public_ips — List of public ip addresses created by this module
dcos_instance_os — Operating system to use. Instead of using your own AMI you could use a provided OS.
instances_self_link — List of instance self links
prereq-id — Returns the ID of the prereq script (if user_data or ami are not used)
machine_type — Instance Type
zone_list — Element by zone list
user_data — User data to be used on these instances (cloud-init)
public_ssh_key — SSH Public Key
image — Source image to boot from
disk_size — Disk Size in GB
os_user — The OS user to be used
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud GCP
★ Stars0
Forks1
Total downloads9.8k
Inputs15
Outputs16
LicenseApache-2.0
Namespacedcos-terraform
Updated