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
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.