Created
September 21, 2018 13:53
-
-
Save geekbass/da0add173679a1a0f02e9c402a09ff6e to your computer and use it in GitHub Desktop.
Main.tf - - Scaling a Cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} | |
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