backport of commit ddff68c82a (#21230)

Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
hc-github-team-secure-vault-core
2023-06-14 14:39:10 -04:00
committed by GitHub
parent 544994b5c2
commit 9827e1bb70
2 changed files with 13 additions and 6 deletions

View File

@@ -12,11 +12,12 @@ module "az_finder" {
module "backend_consul" {
source = "app.terraform.io/hashicorp-qti/aws-consul/enos"
project_name = var.project_name
environment = "ci"
common_tags = var.tags
ssh_aws_keypair = var.aws_ssh_keypair_name
consul_license = var.backend_license_path == null ? null : file(abspath(var.backend_license_path))
project_name = var.project_name
environment = "ci"
common_tags = var.tags
ssh_aws_keypair = var.aws_ssh_keypair_name
consul_license = var.backend_license_path == null ? null : file(abspath(var.backend_license_path))
consul_log_level = var.backend_log_level
}
module "backend_raft" {

View File

@@ -69,6 +69,12 @@ variable "backend_license_path" {
default = null
}
variable "backend_log_level" {
description = "The server log level for the backend. Supported values include 'trace', 'debug', 'info', 'warn', 'error'"
type = string
default = "trace"
}
variable "project_name" {
description = "The description of the project"
type = string
@@ -145,7 +151,7 @@ variable "vault_local_build_tags" {
variable "vault_log_level" {
description = "The server log level for Vault logs. Supported values (in order of detail) are trace, debug, info, warn, and err."
type = string
default = "info"
default = "trace"
}
variable "vault_build_date" {