File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments