Skip to content

Instantly share code, notes, and snippets.

@geekbass
Created September 21, 2018 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekbass/cda0420b8b7cfac53b957f5866aa4a52 to your computer and use it in GitHub Desktop.
Save geekbass/cda0420b8b7cfac53b957f5866aa4a52 to your computer and use it in GitHub Desktop.
Main.tf - - Upgrading the Cluster
module "dcos" {
source = "dcos-terraform/dcos/aws"
cluster_name="my-open-dcos-cluster"
ssh_public_key_file="~/.ssh/id_rsa.pub"
num_masters = "1"
num_private_agents = "3"
num_public_agents = "1"
dcos_variant = "open"
dcos_install_mode = "upgrade"
}
output "cluster-address" {
value = "${module.dcos.masters-loadbalancer}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment