mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
70 lines
1 KiB
HCL
70 lines
1 KiB
HCL
# Copyright IBM Corp. 2016, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
// Shim module to handle the fact that Vault doesn't actually need a backend module when we use raft.
|
|
terraform {
|
|
required_version = ">= 1.2.0"
|
|
|
|
required_providers {
|
|
enos = {
|
|
source = "registry.terraform.io/hashicorp-forge/enos"
|
|
version = ">= 0.4.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
default = null
|
|
}
|
|
|
|
variable "cluster_tag_key" {
|
|
default = null
|
|
}
|
|
|
|
variable "config_dir" {
|
|
default = null
|
|
}
|
|
|
|
variable "consul_log_level" {
|
|
default = null
|
|
}
|
|
|
|
variable "data_dir" {
|
|
default = null
|
|
}
|
|
|
|
variable "install_dir" {
|
|
default = null
|
|
}
|
|
|
|
variable "license" {
|
|
default = null
|
|
}
|
|
|
|
variable "log_dir" {
|
|
default = null
|
|
}
|
|
|
|
variable "log_level" {
|
|
default = null
|
|
}
|
|
|
|
variable "release" {
|
|
default = null
|
|
}
|
|
|
|
variable "hosts" {
|
|
default = null
|
|
}
|
|
|
|
output "private_ips" {
|
|
value = [for host in var.hosts : host.private_ip]
|
|
}
|
|
|
|
output "public_ips" {
|
|
value = [for host in var.hosts : host.public_ip]
|
|
}
|
|
|
|
output "hosts" {
|
|
value = var.hosts
|
|
}
|