Skip to content

Commit

Permalink
ci: replace archive_file data source with resource #2
Browse files Browse the repository at this point in the history
  • Loading branch information
simonknittel committed May 17, 2024
1 parent 93fc906 commit 1726c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/eventbridge-sqs-lambda/function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "aws_lambda_function" "main" {
function_name = var.function_name
role = aws_iam_role.main.arn
handler = "index.handler"
source_code_hash = data.archive_file.main.output_base64sha256
source_code_hash = archive_file.main.output_base64sha256
runtime = "nodejs20.x"
timeout = var.timeout
memory_size = 256
Expand Down

0 comments on commit 1726c36

Please sign in to comment.