Skip to content

Commit a92501d

Browse files
author
Eric Romrell
committed
Added source code hash back in
1 parent 37d4103 commit a92501d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ resource "aws_security_group" "lambda_sg" {
238238

239239
resource "aws_lambda_function" "api_lambda" {
240240
filename = var.lambda_zip_file
241+
source_code_hash = filebase64sha256(var.lambda_zip_file)
241242
function_name = local.long_name
242243
role = aws_iam_role.iam_for_lambda.arn
243244
handler = var.handler

0 commit comments

Comments
 (0)