From 2cd15c3c0f9e2bdd8480160f65848d42b2b560f3 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Thu, 24 Sep 2015 11:44:51 -0700 Subject: [PATCH] demo/digitalocean: 500x 1gb droplets per region --- demo/digitalocean/terraform/client/main.tf | 2 +- demo/digitalocean/terraform/main.tf | 10 ++++------ demo/digitalocean/terraform/server/main.tf | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/demo/digitalocean/terraform/client/main.tf b/demo/digitalocean/terraform/client/main.tf index 19c5e67eb..f86418bc1 100644 --- a/demo/digitalocean/terraform/client/main.tf +++ b/demo/digitalocean/terraform/client/main.tf @@ -1,7 +1,7 @@ variable "count" {} variable "image" {} variable "region" {} -variable "size" { default = "512mb" } +variable "size" { default = "1gb" } variable "servers" {} variable "ssh_keys" {} diff --git a/demo/digitalocean/terraform/main.tf b/demo/digitalocean/terraform/main.tf index 401da4b42..6136ff831 100644 --- a/demo/digitalocean/terraform/main.tf +++ b/demo/digitalocean/terraform/main.tf @@ -16,17 +16,16 @@ module "servers" { module "clients-nyc3" { source = "./client" region = "nyc3" - count = 1 + count = 500 image = "${atlas_artifact.nomad-digitalocean.id}" servers = "${module.servers.addrs}" ssh_keys = "${var.ssh_keys}" } -/* module "clients-ams2" { source = "./client" region = "ams2" - count = 1 + count = 500 image = "${atlas_artifact.nomad-digitalocean.id}" servers = "${module.servers.addrs}" ssh_keys = "${var.ssh_keys}" @@ -35,7 +34,7 @@ module "clients-ams2" { module "clients-ams3" { source = "./client" region = "ams3" - count = 1 + count = 500 image = "${atlas_artifact.nomad-digitalocean.id}" servers = "${module.servers.addrs}" ssh_keys = "${var.ssh_keys}" @@ -44,12 +43,11 @@ module "clients-ams3" { module "clients-sfo1" { source = "./client" region = "sfo1" - count = 1 + count = 500 image = "${atlas_artifact.nomad-digitalocean.id}" servers = "${module.servers.addrs}" ssh_keys = "${var.ssh_keys}" } -*/ output "cluster-info" { value = "Nomad Servers: ${join(" ", split(",", module.servers.addrs))}" diff --git a/demo/digitalocean/terraform/server/main.tf b/demo/digitalocean/terraform/server/main.tf index 37a0e2aed..55b92c86a 100644 --- a/demo/digitalocean/terraform/server/main.tf +++ b/demo/digitalocean/terraform/server/main.tf @@ -1,6 +1,6 @@ variable "image" {} variable "region" {} -variable "size" { default = "512mb" } +variable "size" { default = "1gb" } variable "ssh_keys" {} resource "digitalocean_droplet" "server" {