From 977468c0961aa3cd4544171c659e5678433ea565 Mon Sep 17 00:00:00 2001 From: tajewole-moj Date: Mon, 23 Oct 2023 16:38:37 +0100 Subject: [PATCH] remove the key entry --- terraform/environments/apex/lambda.tf | 2 +- terraform/environments/apex/modules/lambda/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/environments/apex/lambda.tf b/terraform/environments/apex/lambda.tf index 907bec462ee..365e8bee5ac 100644 --- a/terraform/environments/apex/lambda.tf +++ b/terraform/environments/apex/lambda.tf @@ -34,7 +34,7 @@ role = module.iambackup.backuprole runtime = local.runtime subnet_ids = [data.aws_subnet.private_subnets_a.id] lamdbabucketname = "laa-${local.application_name}-${local.environment}-mp" -key = local.key +# key = local.key diff --git a/terraform/environments/apex/modules/lambda/main.tf b/terraform/environments/apex/modules/lambda/main.tf index 7668ec6cb82..28aa86e8722 100644 --- a/terraform/environments/apex/modules/lambda/main.tf +++ b/terraform/environments/apex/modules/lambda/main.tf @@ -33,7 +33,7 @@ resource "aws_lambda_function" "snapshotDBFunction" { source_code_hash = data.archive_file.lambda_dbsnapshot[count.index].output_base64sha256 runtime = var.runtime[count.index] s3_bucket = var.lamdbabucketname - s3_key = var.key[count.index] + # s3_key = var.key[count.index] environment { variables = {