diff --git a/enos/enos-modules.hcl b/enos/enos-modules.hcl index 0886b46a06..c9b6544c89 100644 --- a/enos/enos-modules.hcl +++ b/enos/enos-modules.hcl @@ -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" { diff --git a/enos/enos-variables.hcl b/enos/enos-variables.hcl index ef445d0a2b..2026b67bfe 100644 --- a/enos/enos-variables.hcl +++ b/enos/enos-variables.hcl @@ -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" {