Files
nomad/enos/modules/upgrade_instance/variables.tf
2025-02-10 10:53:39 +01:00

51 lines
1.2 KiB
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
variable "nomad_addr" {
description = "The Nomad API HTTP address of the instance being upgraded."
type = string
default = "http://localhost:4646"
}
variable "nomad_token" {
description = "The Secret ID of an ACL token to make requests with, for ACL-enabled clusters."
type = string
}
variable "platform" {
description = "Operating system of the instance to upgrade"
type = string
default = "linux"
}
variable "server_address" {
description = "IP address of the server that will be updated"
type = string
}
variable "ssh_key_path" {
description = "Path to the ssh private key that can be used to connect to the instance where the server is running"
type = string
}
variable "artifactory_release" {
type = object({
username = string
token = string
url = string
sha256 = string
})
description = "The Artifactory release information to install Nomad artifacts from Artifactory"
default = null
}
variable "tls" {
type = object({
ca_file = string
cert_file = string
key_file = string
})
description = "Paths to tls keys and certificates for Nomad CLI"
default = null
}