github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/e2e/terraform/provision-nomad/variables.tf (about)

     1  variable "platform" {
     2    type        = string
     3    description = "Platform ID (ex. \"linux_amd64\" or \"windows_amd64\")"
     4    default     = "linux_amd64"
     5  }
     6  
     7  variable "nomad_version" {
     8    type        = string
     9    description = "Nomad release version (ex. \"0.10.3\")"
    10    default     = ""
    11  }
    12  
    13  variable "nomad_sha" {
    14    type        = string
    15    description = "Nomad build full SHA (ex. \"fef22bdbfa094b5d076710354275e360867261aa\")"
    16    default     = ""
    17  }
    18  
    19  variable "nomad_local_binary" {
    20    type        = string
    21    description = "Path to local Nomad build (ex. \"/home/me/bin/nomad\")"
    22    default     = ""
    23  }
    24  
    25  variable "nomad_enterprise" {
    26    type        = bool
    27    description = "If nomad_sha is used, deploy Nomad Enterprise"
    28    default     = false
    29  }
    30  
    31  variable "nomad_acls" {
    32    type        = bool
    33    description = "Bootstrap ACLs"
    34    default     = false
    35  }
    36  
    37  variable "profile" {
    38    type        = string
    39    description = "The name of the configuration profile (ex. 'full-cluster')"
    40    default     = ""
    41  }
    42  
    43  variable "role" {
    44    type        = string
    45    description = "The role in the configuration profile for this instance (ex. 'client-linux')"
    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 "cluster_name" {
    56    type        = string
    57    description = "The random name assigned to the cluster"
    58    default     = ""
    59  }
    60  
    61  variable "connection" {
    62    type = object({
    63      type        = string
    64      user        = string
    65      host        = string
    66      port        = number
    67      private_key = string
    68    })
    69    description = "ssh connection information for remote target"
    70  }