github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/terraform/provision-nomad/variables.tf (about) 1 variable "nomad_local_binary" { 2 type = string 3 description = "Path to local Nomad build (ex. \"/home/me/bin/nomad\")" 4 default = "" 5 } 6 7 variable "nomad_license" { 8 type = string 9 description = "The enterprise license to use. overrides Nomad temporary license" 10 default = "" 11 } 12 13 variable "tls_ca_algorithm" { 14 type = string 15 description = "CA private key algorithm" 16 default = "ECDSA" 17 } 18 19 variable "tls_ca_key" { 20 type = string 21 description = "Cluster TLS CA private key" 22 default = "" 23 } 24 25 variable "tls_ca_cert" { 26 type = string 27 description = "Cluster TLS CA cert" 28 default = "" 29 } 30 31 variable "arch" { 32 type = string 33 description = "The architecture for this instance (ex. 'linux_amd64' or 'windows_amd64')" 34 default = "linux_amd64" 35 } 36 37 variable "platform" { 38 type = string 39 description = "The platform for this instance (ex. 'windows' or 'linux')" 40 default = "linux" 41 } 42 43 variable "role" { 44 type = string 45 description = "The role for this instance (ex. 'client' or 'server')" 46 default = "" 47 } 48 49 variable "index" { 50 type = string # note that we have string here so we can default to "" 51 description = "The count of this instance for indexed configurations" 52 default = "" 53 } 54 55 variable "instance" { 56 type = object({ 57 id = string 58 public_dns = string 59 public_ip = string 60 private_dns = string 61 private_ip = string 62 }) 63 } 64 65 variable "connection" { 66 type = object({ 67 user = string 68 port = number 69 private_key = string 70 }) 71 description = "ssh connection information for remote target" 72 }