From ce50aac560d2ee0e61c5c5f3e504ce5297e3e35e Mon Sep 17 00:00:00 2001 From: Charlie Voiselle Date: Fri, 24 May 2019 12:30:06 -0400 Subject: [PATCH] Proposing new tfvars with additional inline docs --- terraform/aws/env/us-east/terraform.tfvars | 50 ++++++++++++++++++---- 1 file changed, 41 insertions(+), 9 deletions(-) diff --git a/terraform/aws/env/us-east/terraform.tfvars b/terraform/aws/env/us-east/terraform.tfvars index 4d48c47b6..7f1f1489d 100644 --- a/terraform/aws/env/us-east/terraform.tfvars +++ b/terraform/aws/env/us-east/terraform.tfvars @@ -1,9 +1,41 @@ -region = "us-east-1" -ami = "ami-090a41df9e193a506" -server_instance_type = "t2.medium" -client_instance_type = "t2.medium" -#for GPU work -#client_instance_type = "p3.2xlarge" // for -server_count = "1" -client_count = "1" -nomad_binary = "https://releases.hashicorp.com/nomad/0.9.0/nomad_0.9.0_linux_amd64.zip" +# `name` (required) is used to override the default decorator for elements in +# the stack. This allows for more than one environment per account. +# - This name can only contain alphanumeric characters. If it is not provided +# here, it will be requested interactively. +name = "nomad" + +# `key_name` (required) - The name of the AWS SSH keys to be loaded on the +# instance at provisioning. + +# If it is not provided here, it will be requested interactively. +#key_name = "«YOUR EC2 SSH KEY NAME»" + +# `nomad_binary` (optional, null) - URL of a zip file containing a nomad +# executable with which to replace the Nomad binaries in the AMI. +# - Typically this is left commented unless necessary. +#nomad_binary = "https://releases.hashicorp.com/nomad/0.9.0/nomad_0.9.0_linux_amd64.zip" + +# `region` ("us-east-1") - sets the AWS region to build your cluster in. +#region = "us-east-1" + +# `ami` (required) - The base AMI for the created nodes, This AMI must exist in +# the requested region for this environment to build properly. +# - If it is not provided here, it will be requested interactively. +ami = "ami-0df3b3ceb1f37291d" + +# `server_instance_type` ("t2.medium"), `client_instance_type` ("t2.medium"), +# `server_count` (3),`client_count` (4) - These options control instance size +# and count. They should be set according to your needs. +# +# * For the GPU demos, we used p3.2xlarge client instances. +# * For the Spark demos, you will need at least 4 t2.medium client +# instances. +#server_instance_type = "t2.medium" +#server_count = "3" +#client_instance_type = "t2.medium" +#client_count = "4" + +# `whitelist_ip` (required) - IP to whitelist for the security groups (set +# to 0.0.0.0/0 for world). +# - If it is not provided here, it will be requested interactively. +whitelist_ip = "0.0.0.0/0"