2023-03-15 16:00:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-16 19:23:58 +00:00
|
|
|
|
|
|
|
variable "vault_edition" {
|
|
|
|
type = string
|
|
|
|
description = "The vault product edition"
|
|
|
|
default = null
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vault_install_dir" {
|
|
|
|
type = string
|
|
|
|
description = "The directory where the Vault binary will be installed"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vault_instance_count" {
|
|
|
|
type = number
|
|
|
|
description = "How many vault instances are in the cluster"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vault_instances" {
|
|
|
|
type = map(object({
|
|
|
|
private_ip = string
|
|
|
|
public_ip = string
|
|
|
|
}))
|
|
|
|
description = "The vault cluster instances that were created"
|
|
|
|
}
|