mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
backport of commit ddff68c82a (#21230)
Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
committed by
GitHub
parent
544994b5c2
commit
9827e1bb70
@@ -12,11 +12,12 @@ module "az_finder" {
|
|||||||
module "backend_consul" {
|
module "backend_consul" {
|
||||||
source = "app.terraform.io/hashicorp-qti/aws-consul/enos"
|
source = "app.terraform.io/hashicorp-qti/aws-consul/enos"
|
||||||
|
|
||||||
project_name = var.project_name
|
project_name = var.project_name
|
||||||
environment = "ci"
|
environment = "ci"
|
||||||
common_tags = var.tags
|
common_tags = var.tags
|
||||||
ssh_aws_keypair = var.aws_ssh_keypair_name
|
ssh_aws_keypair = var.aws_ssh_keypair_name
|
||||||
consul_license = var.backend_license_path == null ? null : file(abspath(var.backend_license_path))
|
consul_license = var.backend_license_path == null ? null : file(abspath(var.backend_license_path))
|
||||||
|
consul_log_level = var.backend_log_level
|
||||||
}
|
}
|
||||||
|
|
||||||
module "backend_raft" {
|
module "backend_raft" {
|
||||||
|
|||||||
@@ -69,6 +69,12 @@ variable "backend_license_path" {
|
|||||||
default = null
|
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" {
|
variable "project_name" {
|
||||||
description = "The description of the project"
|
description = "The description of the project"
|
||||||
type = string
|
type = string
|
||||||
@@ -145,7 +151,7 @@ variable "vault_local_build_tags" {
|
|||||||
variable "vault_log_level" {
|
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."
|
description = "The server log level for Vault logs. Supported values (in order of detail) are trace, debug, info, warn, and err."
|
||||||
type = string
|
type = string
|
||||||
default = "info"
|
default = "trace"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vault_build_date" {
|
variable "vault_build_date" {
|
||||||
|
|||||||
Reference in New Issue
Block a user