Skip to content
Terraform module to bootstrap a DCOS cluster
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
admin_security_group.tf
dhcp_options.tf
graph.svg
host_keys.tf
internal_master_load_balancer.tf
internet_gateway.tf
key_pair.tf
lb_security_group.tf
load_balancer.tf
master_instance_profile.tf
master_launch_configuration.tf
master_role.tf
master_security_group.tf
master_server_group.tf
master_user_data.yml
nat_instance.tf
origin.json
outputs.tf
private_route_table.tf
private_subnet.tf
private_subnet_network_acl_association.tf
private_subnet_route_table_association.tf
provider.tf
public_route_table.tf
public_slave_launch_configuration.tf
public_slave_load_balancer.tf
public_slave_security_group.tf
public_slave_server_group.tf
public_slave_user_data.yml
public_subnet.tf
public_subnet_network_acl_association.tf
public_subnet_route_table_association.tf
s3_bucket.tf
slave_egress.tf
slave_launch_configuration.tf
slave_security_group.tf
slave_server_group.tf
slave_user_data.yml
variables.tf
vpc.tf

README.md

DCOS Terraform Module

Using this Terraform module, you can launch your own DCOS cluster.

Configurables

See variables.tf for a list of configurable parameters.

Module Instructions

To include this module in your Terraform code-base, use the following snippet:

module "dcos" {
  source = "github.com/jeanmertz/terraform-dcos"

  aws_access_key = "..."
  aws_secret_key = "..."
  aws_region     = "eu-central-1"
  ssh_public_key = "ssh-rsa ..."

  ...
}

Then run terraform get to retrieve this module.

Stand-Alone Instructions

Any Terraform module can also be used on its own. To do so, follow these instructions:

  • clone the repository
  • create a terraform.tfvars file with all the (required) variables
  • optionally run terraform plan -out terraform.plan
  • run terraform apply [terraform.plan]

Dependency Graph

graph

Origin

This module is an implementation of the official "Single Master" AWS Cloud Formation template.

The CF JSON file is included in this repository, to more easily track updates and implement those in the Terraform implementation.

You can’t perform that action at this time.