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