github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/terraform/aws/env/us-east/variables.tf (about) 1 variable "name" { 2 description = "Used to name various infrastructure components" 3 } 4 5 variable "whitelist_ip" { 6 description = "IP to whitelist for the security groups (set 0.0.0.0/0 for world)" 7 } 8 9 variable "region" { 10 description = "The AWS region to deploy to." 11 default = "us-east-1" 12 } 13 14 variable "ami" { 15 } 16 17 variable "server_instance_type" { 18 description = "The AWS instance type to use for servers." 19 default = "t2.medium" 20 } 21 22 variable "client_instance_type" { 23 description = "The AWS instance type to use for clients." 24 default = "t2.medium" 25 } 26 27 variable "root_block_device_size" { 28 description = "The volume size of the root block device." 29 default = 16 30 } 31 32 variable "key_name" { 33 description = "Name of the SSH key used to provision EC2 instances." 34 } 35 36 variable "server_count" { 37 description = "The number of servers to provision." 38 default = "3" 39 } 40 41 variable "client_count" { 42 description = "The number of clients to provision." 43 default = "4" 44 } 45 46 variable "retry_join" { 47 description = "Used by Consul to automatically form a cluster." 48 type = map(string) 49 50 default = { 51 provider = "aws" 52 tag_key = "ConsulAutoJoin" 53 tag_value = "auto-join" 54 } 55 } 56 57 variable "nomad_binary" { 58 description = "Used to replace the machine image installed Nomad binary." 59 default = "none" 60 }