dcos
dcos-terraform/dcos/aws
Creates a DC/OS Cluster on AWS | Convenience Wrapper for AWS
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| dcos_ca_certificate_path | string | [Enterprise DC/OS] Path (relative to the $DCOS_INSTALL_DIR) to a file containing | "" |
| bootstrap_os | string | [BOOTSTRAP] Operating system to use. Instead of using your own AMI you could use | "" |
| dcos_overlay_network | string | This group of parameters define an virtual network for DC/OS. (optional) | "" |
| dcos_calico_vxlan_port | string | The UDP port used for calico VXLAN. This configuration works when dcos_calico_vx | "" |
| private_agents_extra_volumes | list | [PRIVATE AGENTS] Extra volumes for each private agent | [] |
| private_agents_user_data | string | [PRIVATE AGENTS] User data to be used on these instances (cloud-init) | "" |
| public_agents_instance_type | string | [PUBLIC AGENTS] Instance type | "m4.xlarge" |
| dcos_telemetry_enabled | string | Change the telemetry option (optional) | "" |
| dcos_cluster_docker_registry_enabled | string | DC/OS cluster docker registry enabled | "" |
| masters_instance_type | string | [MASTERS] Instance type | "m4.xlarge" |
| masters_iam_instance_profile | string | [MASTERS] Instance profile to be used for these instances | "" |
| public_agents_hostname_format | string | [PUBLIC AGENTS] Format the hostname inputs are index+1, region, cluster_name | "%[3]s-publicagent%[1]d-%[2]s" |
| ansible_user | string | The Ansible user that is used to run the Ansible Tasks. | "" |
| dcos_exhibitor_zk_hosts | string | a comma-separated list of one or more ZooKeeper node IP and port addresses to us | "" |
| masters_os | string | [MASTERS] Operating system to use. Instead of using your own AMI you could use a | "" |
| private_agents_os | string | [PRIVATE AGENTS] Operating system to use. Instead of using your own AMI you coul | "" |
| public_agents_allow_dynamic | string | Allow dynamic / ephemeral ports (49152-65535 see: RFC6335) on public agents publ | false |
| additional_public_agent_ips | list | Additional public agent IPs. | [] |
| dcos_image_commit | string | The commit hash for the build of DC/OS | "" |
| dcos_gc_delay | string | The 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 nameinfrastructure_public_agents_public_ips — Public Agent public IPsinfrastructure_vpc_cidr_block — This is the id of the VPC the cluster is inmasters-internal-loadbalancer — This is the internal load balancer address to access the DC/OS Servicesinfrastructure_private_agents_private_ips — Private Agent instances private IPsinfrastructure_iam_agent_profile — Name of the agent profileinfrastructure_vpc_subnet_ids — This is the list of subnet_ids the cluster is inmasters-ips — Master IP addressesconfig — The battle-tested provisioner contents of the output by DC/OS role to perform requried admin actionsinfrastructure_private_agents_os_user — Private Agent instances OS default userinfrastructure_masters_private_ips — Master instances private IPsinfrastructure_private_agents_instances — Private Agent instances IDsinfrastructure_security_groups_internal — This is the id of the internal security_group that the cluster is ininfrastructure_masters_instances — Master instances IDsinfrastructure_public_agents_instances — Public Agent instances IDsinfrastructure_lb_masters_internal_dns_name — This is the load balancer to access the masters internally in the clusterinfrastructure_bootstrap_os_user — Bootstrap instance OS default userinfrastructure_private_agents_public_ips — Private Agent public IPsinfrastructure_public_agents_os_user — Public Agent instances OS default userinfrastructure_vpc_main_route_table_id — This is the id of the VPC's main routing table the cluster is ininfrastructure_aws_key_name — This is the AWS key name used for the clusterinfrastructure_bootstrap_public_ip — Public IP of the bootstrap instanceinfrastructure_masters_public_ips — Master instances public IPsinfrastructure_iam_master_profile — Name of the master profileinfrastructure_vpc_id — This is the id of the VPC the cluster is ininfrastructure_bootstrap_instance — Bootstrap instance IDinfrastructure_masters_os_user — Master instances OS default userinfrastructure_public_agents_aws_iam_instance_profile — Public Agent instance profile nameinfrastructure_lb_public_agents_dns_name — This is the load balancer to reach the public agentsinfrastructure_lb_masters_dns_name — This is the load balancer to access the DC/OS UI