dcos

dcos-terraform/dcos/aws

Terraform Module HCL AWS ⏱ stale 5y 5mo

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

Install

module "dcos" {
source = "dcos-terraform/dcos/aws"
version = "0.3.4"
}
⭐ Source on GitHub 📦 Registry page

README

DC/OS on AWS ============ Creates a DC/OS Cluster on AWS Quick Start Guide You can find more detailed documentation about this module here: README.md EXAMPLE ------- \*``hcl module "dcos" { source = "dcos-terraform/dcos/aws" version = "~> 0.3.0" providers = { aws = aws } 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" # availability_zones = [" a"] 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_c

Inputs (50)

NameTypeDescriptionDefault
dcos_ca_certificate_pathstring[Enterprise DC/OS] Path (relative to the $DCOS_INSTALL_DIR) to a file containing""
bootstrap_osstring[BOOTSTRAP] Operating system to use. Instead of using your own AMI you could use""
dcos_overlay_networkstringThis group of parameters define an virtual network for DC/OS. (optional)""
dcos_calico_vxlan_portstringThe UDP port used for calico VXLAN. This configuration works when dcos_calico_vx""
private_agents_extra_volumeslist[PRIVATE AGENTS] Extra volumes for each private agent[]
private_agents_user_datastring[PRIVATE AGENTS] User data to be used on these instances (cloud-init)""
public_agents_instance_typestring[PUBLIC AGENTS] Instance type"m4.xlarge"
dcos_telemetry_enabledstringChange the telemetry option (optional)""
dcos_cluster_docker_registry_enabledstringDC/OS cluster docker registry enabled""
masters_instance_typestring[MASTERS] Instance type"m4.xlarge"
masters_iam_instance_profilestring[MASTERS] Instance profile to be used for these instances""
public_agents_hostname_formatstring[PUBLIC AGENTS] Format the hostname inputs are index+1, region, cluster_name"%[3]s-publicagent%[1]d-%[2]s"
ansible_userstringThe Ansible user that is used to run the Ansible Tasks.""
dcos_exhibitor_zk_hostsstringa comma-separated list of one or more ZooKeeper node IP and port addresses to us""
masters_osstring[MASTERS] Operating system to use. Instead of using your own AMI you could use a""
private_agents_osstring[PRIVATE AGENTS] Operating system to use. Instead of using your own AMI you coul""
public_agents_allow_dynamicstringAllow dynamic / ephemeral ports (49152-65535 see: RFC6335) on public agents publfalse
additional_public_agent_ipslistAdditional public agent IPs.[]
dcos_image_commitstringThe commit hash for the build of DC/OS""
dcos_gc_delaystringThe maximum amount of time to wait before cleaning up the executor directories (""
… and 10 more inputs

Outputs (36)

infrastructure_private_agents_aws_iam_instance_profile — Private Agent instance profile name
infrastructure_public_agents_public_ips — Public Agent public IPs
infrastructure_vpc_cidr_block — This is the id of the VPC the cluster is in
masters-internal-loadbalancer — This is the internal load balancer address to access the DC/OS Services
infrastructure_private_agents_private_ips — Private Agent instances private IPs
infrastructure_iam_agent_profile — Name of the agent profile
infrastructure_vpc_subnet_ids — This is the list of subnet_ids the cluster is in
masters-ips — Master IP addresses
config — The battle-tested provisioner contents of the output by DC/OS role to perform requried admin actions
infrastructure_private_agents_os_user — Private Agent instances OS default user
infrastructure_masters_private_ips — Master instances private IPs
infrastructure_private_agents_instances — Private Agent instances IDs
infrastructure_security_groups_internal — This is the id of the internal security_group that the cluster is in
infrastructure_masters_instances — Master instances IDs
infrastructure_public_agents_instances — Public Agent instances IDs
infrastructure_lb_masters_internal_dns_name — This is the load balancer to access the masters internally in the cluster
infrastructure_bootstrap_os_user — Bootstrap instance OS default user
infrastructure_private_agents_public_ips — Private Agent public IPs
infrastructure_public_agents_os_user — Public Agent instances OS default user
infrastructure_vpc_main_route_table_id — This is the id of the VPC's main routing table the cluster is in
infrastructure_aws_key_name — This is the AWS key name used for the cluster
infrastructure_bootstrap_public_ip — Public IP of the bootstrap instance
infrastructure_masters_public_ips — Master instances public IPs
infrastructure_iam_master_profile — Name of the master profile
infrastructure_vpc_id — This is the id of the VPC the cluster is in
infrastructure_bootstrap_instance — Bootstrap instance ID
infrastructure_masters_os_user — Master instances OS default user
infrastructure_public_agents_aws_iam_instance_profile — Public Agent instance profile name
infrastructure_lb_public_agents_dns_name — This is the load balancer to reach the public agents
infrastructure_lb_masters_dns_name — This is the load balancer to access the DC/OS UI
… and 6 more outputs

Resources (1)

random_id

Topics & Tags

dcos

Details

FrameworkTerraform Module
LanguageHCL
Version0.3.4
Cloud AWS
★ Stars9
Forks23
Total downloads233.7k
Inputs50
Outputs36
Resources1
Examples4
LicenseApache-2.0
Namespacedcos-terraform
Updated