# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 variable "prefix" { type = string description = "Prefix for the cluster name" default = "upgrade" } # Variables for the fetch_artifactory module variable "artifactory_username" { type = string description = "The username to use when connecting to artifactory" default = null } variable "artifactory_token" { type = string description = "The token to use when connecting to artifactory" default = null sensitive = true } variable "product_version" { description = "The version of Nomad we are starting from" type = string default = null } variable "artifactory_repo_start" { description = "The Artifactory repository we'll download the starting binary from" type = string # note: this default only works for released binaries default = "hashicorp-crt-staging-local*" } variable "upgrade_version" { description = "The version of Nomad we want to upgrade the cluster to" type = string default = null } variable "artifactory_repo_upgrade" { description = "The Artifactory repository we'll download the upgraded binary from" type = string # note: this default only works for released binaries default = "hashicorp-crt-staging-local*" } variable "download_binary_path" { description = "The path to a local directory where binaries will be downloaded to provision" } # Variables for the provision_cluster module variable "nomad_license" { type = string description = "If nomad_license is set, deploy a license" sensitive = true default = "" } variable "consul_license" { type = string description = "If consul_license is set, deploy a license" sensitive = true default = "" } variable "server_count" { description = "The number of servers to provision." default = "3" } variable "aws_region" { description = "The AWS region to deploy to." default = "us-east-1" } variable "availability_zone" { description = "The AZ where the cluster is being run" type = string default = "us-east-1b" }