Skip to content

Commit

Permalink
forgot to add the count.index
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 17, 2023
1 parent 8e5c50f commit dd12e1f
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
source_code_hash = data.archive_file.lambda_dbsnapshot.output_base64sha256[count.index]

runtime = "nodejs18.x"

Expand Down

0 comments on commit dd12e1f

Please sign in to comment.