diff --git a/main.tf b/main.tf index cd6a288..7b0b4e6 100644 --- a/main.tf +++ b/main.tf @@ -116,7 +116,7 @@ locals { dynamo_secret_access_key = aws_iam_access_key.user_login_logger.secret enable_debug = var.enable_debug help_center_url = var.help_center_url - logging_level = var.logging_level + logging_level = upper(var.logging_level) memory = var.memory mysql_host = module.app.database_host mysql_database = local.mysql_database diff --git a/vars.tf b/vars.tf index f380826..dd556b1 100644 --- a/vars.tf +++ b/vars.tf @@ -107,7 +107,7 @@ variable "help_center_url" { } variable "logging_level" { - description = "Log level for log filter, may be one of: ERR, WARNING, NOTICE, INFO, DEBUG (case-sensitive)" + description = "Log level for log filter, may be one of: ERR, WARNING, NOTICE, INFO, DEBUG" type = string default = "NOTICE" }