Created
September 21, 2018 13:48
-
-
Save geekbass/e3d4a14954ccd486d453ca6d3aeb3fcc to your computer and use it in GitHub Desktop.
Main.tf - - Creating 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 = "2" | |
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