Skip to content

Commit

Permalink
fix local_file resource
Browse files Browse the repository at this point in the history
  • Loading branch information
hskiba committed Sep 18, 2024
1 parent 8b08cf8 commit 3af933a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ resource "local_file" "lambda_zip" {

resource "aws_lambda_function" "database_lambda" {
function_name = var.database_lambda_function_name
filename = data.local_file.lambda_zip.filename
source_code_hash = data.local_file.lambda_zip.lambda_zip.output_base64sha256
filename = local_file.lambda_zip.filename
source_code_hash = local_file.lambda_zip.content_base64sha512
handler = "bootstrap"
runtime = "provided.al2023"
role = aws_iam_role.golang_lambda_exec.arn
Expand Down

0 comments on commit 3af933a

Please sign in to comment.