Skip to content

Commit

Permalink
typo on count index
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 17, 2023
1 parent dd12e1f commit 505e39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/module/lambda/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ resource "aws_lambda_function" "snapshotDBFunction" {
role = aws_iam_role.backuplambdarole.arn
handler = var.handler

source_code_hash = data.archive_file.lambda_dbsnapshot.output_base64sha256[count.index]
source_code_hash = data.archive_file.lambda_dbsnapshot[count.index].output_base64sha256

runtime = "nodejs18.x"

Expand Down

0 comments on commit 505e39c

Please sign in to comment.