Skip to content

Commit

Permalink
add lambda timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke-hackit committed Oct 31, 2023
1 parent d18bc5d commit bb84417
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/modules/rds-snapshot-to-s3/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module "trigger_rds_snapshot_export" {
lambda_name = "export-rds-snapshot-to-s3"
runtime = "python3.9"
handler = "main.lambda_handler"
lambda_timeout = 60
lambda_artefact_storage_bucket = var.lambda_artefact_storage_bucket
lambda_source_dir = "../../lambdas/export_rds_snapshot_to_s3"
lambda_output_path = "../../lambdas/export-rds-snapshot-to-s3.zip"
Expand All @@ -21,6 +22,7 @@ module "rds_snapshot_s3_to_s3_copier" {
lambda_name = "rds-export-s3-to-s3-copier"
runtime = "python3.9"
handler = "main.lambda_handler"
lambda_timeout = 900
lambda_artefact_storage_bucket = var.lambda_artefact_storage_bucket
lambda_source_dir = "../../lambdas/rds_snapshot_export_s3_to_s3_copier"
lambda_output_path = "../../lambdas/rds_snapshot_export_s3_to_s3_copier.zip"
Expand Down

0 comments on commit bb84417

Please sign in to comment.