From 6c2cac7d3bdf5dcc8d47100206894f45a629b82e Mon Sep 17 00:00:00 2001 From: tajewole-moj Date: Tue, 24 Oct 2023 14:12:40 +0100 Subject: [PATCH] include file name --- terraform/environments/apex/lambda.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/environments/apex/lambda.tf b/terraform/environments/apex/lambda.tf index 50c100f980d..77b1d76cb69 100644 --- a/terraform/environments/apex/lambda.tf +++ b/terraform/environments/apex/lambda.tf @@ -59,6 +59,7 @@ resource "aws_lambda_function" "snapshotDBFunction" { handler = local.snapshotDBFunctionhandler source_code_hash = data.archive_file.dbsnapshot_file.output_base64sha256 runtime = local.snapshotDBFunctionruntime + filename = local.snapshotDBFunctionfilename # s3_bucket = module.s3_bucket_lambda.lambdabucketname # s3_key = local.snapshotDBFunctionfilename @@ -83,6 +84,7 @@ resource "aws_lambda_function" "deletesnapshotFunction" { role = module.iambackup.backuprole handler = local.deletesnapshotFunctionhandler source_code_hash = data.archive_file.deletesnapshot_file.output_base64sha256 + filename = local.deletesnapshotFunctionfilename runtime = local.deletesnapshotFunctionruntime # s3_bucket = module.s3_bucket_lambda.lambdabucketname # s3_key = local.deletesnapshotFunctionfilename @@ -110,6 +112,7 @@ resource "aws_lambda_function" "connectDBFunction" { handler = local.connectDBFunctionhandler source_code_hash = data.archive_file.dbconnect_file.output_base64sha256 runtime = local.connectDBFunctionruntime + filename = local.connectDBFunctionfilename # s3_bucket = module.s3_bucket_lambda.lambdabucketname # s3_key = local.connectDBFunctionfilename