test: run enos scenarios with trace log level (#21213)

Set the vault and consul default log_level to trace.

Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Ryan Cragun
2023-06-14 12:08:43 -06:00
committed by GitHub
parent 052719b9a8
commit ddff68c82a
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" {