# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 variable "nomad_local_binary" { type = string description = "Path to local Nomad build (ex. \"/home/me/bin/nomad\")" default = "" } variable "nomad_license" { type = string description = "The enterprise license to use. overrides Nomad temporary license" default = "" } variable "tls_ca_algorithm" { type = string description = "CA private key algorithm" default = "ECDSA" } variable "tls_ca_key" { type = string description = "Cluster TLS CA private key" default = "" } variable "tls_ca_cert" { type = string description = "Cluster TLS CA cert" default = "" } variable "arch" { type = string description = "The architecture for this instance (ex. 'linux_amd64' or 'windows_amd64')" default = "linux_amd64" } variable "platform" { type = string description = "The platform for this instance (ex. 'windows' or 'linux')" default = "linux" } variable "role" { type = string description = "The role for this instance (ex. 'client' or 'server')" default = "" } variable "index" { type = string # note that we have string here so we can default to "" description = "The count of this instance for indexed configurations" default = "" } variable "instance" { type = object({ id = string public_dns = string public_ip = string private_dns = string private_ip = string }) } variable "connection" { type = object({ user = string port = number private_key = string }) description = "ssh connection information for remote target" }