Skip to content

Commit 2dbfdab

Browse files
authored
Merge pull request #2206 from LBHackney-IT/di-543-govnotify-ingestion-for-customer-services
Increase lambda memory size to 512 to handle larger number of records.
2 parents 8f55955 + afcc002 commit 2dbfdab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module "gov-notify-ingestion-housing-communal-repairs" {
4040
lambda_source_dir = "../../lambdas/govnotify_api_ingestion_housing_lbh_communal_repairs"
4141
lambda_output_path = "../../lambdas/govnotify_api_ingestion_housing_lbh_communal_repairs.zip"
4242
runtime = "python3.9"
43+
lambda_memory_size = 512
4344
environment_variables = {
4445

4546
API_SECRET_NAME = "housing-lbh-communal-repairs/gov-notify_live_api_key"
@@ -57,10 +58,10 @@ module "gov-notify-ingestion-housing-communal-repairs" {
5758
}
5859

5960
resource "aws_cloudwatch_event_rule" "govnotify_housing_lbh_communal_repairs_trigger_event" {
60-
count = local.create_govnotify_resource_count
61-
name = "${local.short_identifier_prefix}govnotify_housing_lbh_communal_repairs_trigger_event"
62-
description = "Trigger event for Housing LBH Communal Repairs GovNotify API ingestion"
63-
tags = module.tags.values
61+
count = local.create_govnotify_resource_count
62+
name = "${local.short_identifier_prefix}govnotify_housing_lbh_communal_repairs_trigger_event"
63+
description = "Trigger event for Housing LBH Communal Repairs GovNotify API ingestion"
64+
tags = module.tags.values
6465
schedule_expression = "cron(0 0 * * ? *)"
6566
is_enabled = local.is_production_environment ? true : false
6667
}

0 commit comments

Comments
 (0)