Skip to content

Commit d51fb15

Browse files
log level set to INFO (#179)
1 parent bbf851f commit d51fb15

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

infrastructure/modules/lambda/lambda.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "aws_lambda_function" "eligibility_signposting_lambda" {
2020
PERSON_TABLE_NAME = var.eligibility_status_table_name,
2121
RULES_BUCKET_NAME = var.eligibility_rules_bucket_name,
2222
ENV = var.environment
23+
LOG_LEVEL = var.log_level
2324
}
2425
}
2526

infrastructure/modules/lambda/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,8 @@ variable "eligibility_status_table_name" {
3737
description = "eligibility datastore table name"
3838
type = string
3939
}
40+
41+
variable "log_level" {
42+
description = "log level"
43+
type = string
44+
}

infrastructure/stacks/api-layer/lambda.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ module "eligibility_signposting_lambda_function" {
2222
handler = "eligibility_signposting_api.app.lambda_handler"
2323
eligibility_rules_bucket_name = module.s3_rules_bucket.storage_bucket_name
2424
eligibility_status_table_name = module.eligibility_status_table.table_name
25+
log_level = "INFO"
2526
stack_name = local.stack_name
2627
}

0 commit comments

Comments
 (0)