Skip to content

Commit

Permalink
LAWS-3514: updated snapshotDBFunction with correct iam role name
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood72 committed Oct 16, 2023
1 parent 8d4f414 commit a957411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "aws_lambda_function" "snapshotDBFunction" {
# path.module in the filename.
filename = "snapshotDBFunction.zip"
function_name = "snapshotDBFunction"
role = aws_iam_role.iam_for_lambda.arn
role = aws_iam_role.backuplambdarole.arn
handler = "snapshot/dbsnapshot.handler"

source_code_hash = data.archive_file.lambda_dbsnapshot.output_base64sha256
Expand Down

0 comments on commit a957411

Please sign in to comment.