Skip to content

Commit 09d3943

Browse files
authored
Merge branch 'main' into feature/CCM-14974-csv-reports-failure-events
2 parents 69f07b7 + 2676deb commit 09d3943

37 files changed

+65
-53
lines changed

infrastructure/terraform/components/dl/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ No requirements.
3838
| <a name="input_force_lambda_code_deploy"></a> [force\_lambda\_code\_deploy](#input\_force\_lambda\_code\_deploy) | If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development | `bool` | `false` | no |
3939
| <a name="input_group"></a> [group](#input\_group) | The group variables are being inherited from (often synonmous with account short-name) | `string` | n/a | yes |
4040
| <a name="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window) | When a kms key is deleted, how long should it wait in the pending deletion state? | `string` | `"30"` | no |
41+
| <a name="input_lambda_timeout_seconds"></a> [lambda\_timeout\_seconds](#input\_lambda\_timeout\_seconds) | The timeout of the lambdas that are triggered by SQS. | `string` | `"45"` | no |
4142
| <a name="input_log_level"></a> [log\_level](#input\_log\_level) | The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels | `string` | `"INFO"` | no |
4243
| <a name="input_log_retention_in_days"></a> [log\_retention\_in\_days](#input\_log\_retention\_in\_days) | The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite | `number` | `0` | no |
4344
| <a name="input_mesh_poll_schedule"></a> [mesh\_poll\_schedule](#input\_mesh\_poll\_schedule) | Schedule to poll MESH for messages | `string` | `"rate(5 minutes)"` | no |
@@ -55,6 +56,7 @@ No requirements.
5556
| <a name="input_shared_infra_account_id"></a> [shared\_infra\_account\_id](#input\_shared\_infra\_account\_id) | The AWS Shared Infra Account ID (numeric) | `string` | n/a | yes |
5657
| <a name="input_sns_success_logging_sample_percent"></a> [sns\_success\_logging\_sample\_percent](#input\_sns\_success\_logging\_sample\_percent) | Enable SNS Delivery Successful Sample Percentage | `number` | `0` | no |
5758
| <a name="input_sqs_max_receive_count"></a> [sqs\_max\_receive\_count](#input\_sqs\_max\_receive\_count) | Maximum number of times a message can be received before being sent to the DLQ | `string` | `"3"` | no |
59+
| <a name="input_sqs_visibility_timeout_seconds"></a> [sqs\_visibility\_timeout\_seconds](#input\_sqs\_visibility\_timeout\_seconds) | The visibility timeout of the SQS queues. AWS recommends this timeout to be at least 6 times the function timeout (lambda\_timeout\_seconds), see https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-lambda-function-trigger.html | `string` | `"270"` | no |
5860
| <a name="input_ttl_poll_schedule"></a> [ttl\_poll\_schedule](#input\_ttl\_poll\_schedule) | Schedule to poll for any overdue TTL records | `string` | `"rate(10 minutes)"` | no |
5961
## Modules
6062

infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "lambda_lambda_apim_refresh_token" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 128
28-
timeout = 5
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030
schedule = var.apim_auth_token_schedule
3131

infrastructure/terraform/components/dl/module_lambda_core_notifier.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "core_notifier" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 128
28-
timeout = 60
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030

3131
force_lambda_code_deploy = var.force_lambda_code_deploy

infrastructure/terraform/components/dl/module_lambda_file_scanner.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "file_scanner" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 512
28-
timeout = 60
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030

3131
force_lambda_code_deploy = var.force_lambda_code_deploy

infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "mesh_acknowledge" {
2424
function_module_name = "mesh_acknowledge"
2525
handler_function_name = "handler.handler"
2626
runtime = "python3.14"
27-
memory = 128
28-
timeout = 5
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030

3131
force_lambda_code_deploy = var.force_lambda_code_deploy

infrastructure/terraform/components/dl/module_lambda_mesh_download.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module "mesh_download" {
2626
handler_function_name = "handler.handler"
2727
runtime = "python3.14"
2828
memory = 256
29-
timeout = 60
29+
timeout = var.lambda_timeout_seconds
3030
log_level = var.log_level
3131

3232
force_lambda_code_deploy = var.force_lambda_code_deploy

infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "mesh_poll" {
2525
function_module_name = "mesh_poll"
2626
handler_function_name = "handler.handler"
2727
runtime = "python3.14"
28-
memory = 128
28+
memory = 256
2929
timeout = 300
3030
log_level = var.log_level
3131
schedule = var.mesh_poll_schedule

infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "move_scanned_files" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 128
28-
timeout = 60
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030

3131
force_lambda_code_deploy = var.force_lambda_code_deploy

infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "pdm_mock" {
2525
function_include_common = true
2626
handler_function_name = "handler"
2727
runtime = "nodejs22.x"
28-
memory = 128
28+
memory = 256
2929
timeout = 30
3030
log_level = var.log_level
3131

infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module "pdm_poll" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 128
28-
timeout = 60
27+
memory = 256
28+
timeout = var.lambda_timeout_seconds
2929
log_level = var.log_level
3030

3131
force_lambda_code_deploy = var.force_lambda_code_deploy

0 commit comments

Comments
 (0)