File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ module "data-collection-lambda" {
4545 name = " DataCollectionLambda"
4646 handler = " handlers.data_collection_handler.lambda_handler"
4747 lambda_timeout = 900
48- lambda_ephemeral_storage = 10240
49- memory_size = 10240
48+ lambda_ephemeral_storage = local . is_production ? 10240 : 1769
49+ memory_size = local . is_production ? 10240 : 1769
5050 iam_role_policy_documents = [
5151 module . ndr-app-config . app_config_policy ,
5252 module . statistics_dynamodb_table . dynamodb_read_policy_document ,
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ module "statistical-report-lambda" {
4545 name = " StatisticalReportLambda"
4646 handler = " handlers.statistical_report_handler.lambda_handler"
4747 lambda_timeout = 900
48- lambda_ephemeral_storage = 10240
49- memory_size = 10240
48+ lambda_ephemeral_storage = local . is_production ? 10240 : 1769
49+ memory_size = local . is_production ? 10240 : 1769
5050 iam_role_policy_documents = [
5151 module . ndr-app-config . app_config_policy ,
5252 module . statistics_dynamodb_table . dynamodb_read_policy_document ,
You can’t perform that action at this time.
0 commit comments