From 6cc773d0a8c64d7eb7e3f90b37464d934a065a08 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Wed, 27 Mar 2024 10:59:28 -0300 Subject: [PATCH] one last change --- .../EmailRequestPreProcessorFunction/iac/lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/EmailProcessor/EmailRequestPreProcessorFunction/iac/lambda.tf b/lambdas/EmailProcessor/EmailRequestPreProcessorFunction/iac/lambda.tf index 2f7e330..7d1de3f 100644 --- a/lambdas/EmailProcessor/EmailRequestPreProcessorFunction/iac/lambda.tf +++ b/lambdas/EmailProcessor/EmailRequestPreProcessorFunction/iac/lambda.tf @@ -1,6 +1,6 @@ data "aws_caller_identity" "current" {} -module "lambda_function_container_image" { +module "lambda_function_existing_package_local" { # source = "terraform-aws-modules/lambda/aws" # function_name = local.lambda_function_name # handler = "index.lambda_handler" @@ -26,7 +26,7 @@ module "lambda_function_container_image" { role_name = "${var.lambda_function_name}-role" attach_policy_statements = true s3_bucket = var.lambda_storage_bucket - image_uri = "${path.module}/../target/email-request-preprocessor-1.0.jar" + local_existing_package = "${path.module}/../target/email-request-preprocessor-1.0.jar" create_package = false environment_variables = {