From 54b731b34db54e17dce0f253a60c64aa135d4ab0 Mon Sep 17 00:00:00 2001 From: Henry Skiba Date: Thu, 19 Sep 2024 06:19:46 +0800 Subject: [PATCH] update source code hash --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 9b9fdd5..3860c9b 100644 --- a/main.tf +++ b/main.tf @@ -431,7 +431,7 @@ resource "local_sensitive_file" "lambda_zip" { resource "aws_lambda_function" "database_lambda" { function_name = var.database_lambda_function_name filename = local_sensitive_file.lambda_zip.filename - source_code_hash = local_sensitive_file.lambda_zip.content_base64sha512 + source_code_hash = data.http.lambda_zip.response_body_base64sha512 handler = "bootstrap" runtime = "provided.al2023" role = aws_iam_role.golang_lambda_exec.arn