Skip to content

Commit dbe75a0

Browse files
authored
Merge pull request #33 from SPHTech-Platform/fix-var
Set default values for log configs vars
2 parents 28b5380 + 8ec8674 commit dbe75a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ variable "source_path" {
259259
variable "logging_application_log_level" {
260260
type = string
261261
description = "The application log level of your lambda"
262-
default = null
262+
default = "INFO"
263263
validation {
264264
condition = var.logging_application_log_level == null ? true : contains(["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"], var.logging_application_log_level)
265265
error_message = "Valid values for logging_info.application_log_level are (TRACE, DEBUG, INFO, WARN, ERROR, FATAL)."
@@ -285,7 +285,7 @@ variable "logging_log_group" {
285285
variable "logging_system_log_level" {
286286
type = string
287287
description = "System log level of your lambda"
288-
default = null
288+
default = "INFO"
289289
validation {
290290
condition = var.logging_system_log_level == null ? true : contains(["DEBUG", "INFO", "WARN", null], var.logging_system_log_level)
291291
error_message = "Valid values for logging_info.system_log_level are (DEBUG, INFO, WARN)."

0 commit comments

Comments
 (0)