dcos

dcos-terraform/dcos/gcp

Terraform Module HCL GCP

Creates a DC/OS Cluster on GCP | Convenience Wrapper for GCP

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

DC/OS on GCP ============ Creates a DC/OS Cluster on GCP Starting Guide You can find more detailed documentation about this module here: README.md EXAMPLE ------- ``hcl module "dcos" { source = "dcos-terraform/dcos/gcp" version = "~> 0.2.0" cluster_name = "mydcoscluster" ssh_public_key_file = "~/.ssh/id_rsa.pub" admin_ips = ['198.51.100.0/24'] num_masters = "3" num_private_agents = "2" num_public_agents = "1" dcos_cluster_docker_credentials_enabled = "true" dcos_cluster_docker_credentials_write_to_etc = "true" dcos_cluster_docker_credentials_dcos_owned = "false" dcos_cluster_docker_registry_url = "https://index.docker.io" dcos_use_proxy = "yes" dcos_http_proxy = "example.com" dcos_https_proxy = "example.com" dcos_calico_network_cidr = "192.168.0.0/16" dcos_no_proxy = | no | | additional\_p

Inputs (50)
NameTypeDescriptionDefault
admin_ipslist(string)List of CIDR admin IPs required
private_agents_gcp_imagestring[PRIVATE AGENTS] Image to be used""
dcos_master_discoverystringThe Mesos master discovery method. The available options are static or master_ht"static"
dcos_aws_template_storage_access_key_idstringAWS key ID for CloudFormation template storage (optional)""
dcos_rexray_config_filenamestringThe REX-Ray configuration filename for enabling external persistent volumes in M""
dcos_zk_super_credentialsstring[Enterprise DC/OS] set the zk super credentials (recommended)""
dcos_check_timestringCheck if Network Time Protocol (NTP) is enabled during DC/OS startup. (optional)""
dcos_skip_checksstringUpgrade option: Used to skip all dcos checks that may block an upgrade if any DCfalse
dcos_zk_master_credentialsstring[Enterprise DC/OS] set the ZooKeeper master credentials (recommended)""
dcos_dns_forward_zonesstringAllow to forward DNS to certain domain requests to specific server. The followin""
dcos_master_external_loadbalancerstringAllows DC/OS to configure certs around the External Load Balancer name. If not u""
dcos_s3_prefixstringname of the s3 prefix for the exhibitor backend (recommended but required with d""
dcos_dns_bind_ip_blackliststringA list of IP addresses that DC/OS DNS resolvers cannot bind to. (optional)""
dcos_docker_remove_delaystringThe amount of time to wait before removing stale Docker images stored on the age""
dcos_calico_network_cidrstringSubnet allocated for calico""
dcos_calico_ipinip_mtustringThe MTU to set on the Calico IPIP tunnel device. (optional)""
dcos_exhibitor_azure_account_keystringthe azure account key for exhibitor storage (optional but required with dcos_exh""
dcos_ucr_default_bridge_subnetstringIPv4 subnet allocated to the mesos-bridge CNI network for UCR bridge-mode networ""
dcos_previous_version_master_indexstringUsed to track the index of master for quering the previous DC/OS version during "0"
dcos_staged_package_storage_uristringWhere to temporarily store DC/OS packages while they are being added. (optional)""
dcos_calico_veth_mtustringThe MTU to set on the veth pair devices. (optional)""
… and 10 more inputs
Outputs (24)
infrastructure_forwarding_rules_masters — Master Forwarding Rules
infrastructure_private_agents_os_user — Private Agent instances OS default user
infrastructure_public_agents_os_user — Public Agent instances OS default user
infrastructure_private_agents_private_ips — Private Agent instances private IPs
infrastructure_public_agents_zone_list — Public Agent zone list
masters-loadbalancer — This is the load balancer address to access the DC/OS UI
infrastructure_bootstrap_public_ip — Public IP of the bootstrap instance
infrastructure_masters_public_ips — Master instances public IPs
infrastructure_private_agents_subnetwork_name — Private Agent instances subnetwork name
infrastructure_network_self_link — Self link of created network
infrastructure_private_agents_public_ips — Private Agent public IPs
infrastructure_public_agents_public_ips — Public Agent public IPs
infrastructure_public_agents_private_ips — Public Agent instances private IPs
infrastructure_bootstrap_os_user — Bootstrap instance OS default user
infrastructure_masters_os_user — Master instances OS default user
infrastructure_forwarding_rules_public_agents — Public Agent Forwarding Rules
infrastructure_bootstrap_private_ip — Private IP of the bootstrap instance
infrastructure_masters_private_ips — Master instances private IPs
infrastructure_public_agents_subnetwork_name — Public Agent instances subnetwork name
infrastructure_masters_zone_list — Master instances zone list
infrastructure_masters_subnetwork_name — Master instances subnetwork name
infrastructure_private_agents_zone_list — Private Agent zone list
masters-ips — Master IP addresses
public-agents-loadbalancer — This is the load balancer address to access the DC/OS public agents
Resources (1)
random_id
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.1
Cloud GCP
★ Stars1
Forks8
Total downloads9.4k
Inputs50
Outputs24
Resources1
LicenseApache-2.0
Namespacedcos-terraform
Updated