vault/enos/modules/backend_raft/main.tf
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* 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>
2025-10-21 15:20:20 -06:00

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
}