Skip to content

Commit

Permalink
PR feedback: use upper to make logging_level case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Nov 9, 2024
1 parent d41267d commit d169699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit d169699

Please sign in to comment.