Skip to content

Commit

Permalink
Merge pull request #1 from santosr2/chore/change_notify_script_path_d…
Browse files Browse the repository at this point in the history
…iscovery

Use data_archive.output_path instead of path_module
  • Loading branch information
santosr2 authored Jan 29, 2024
2 parents a488709 + c1f8367 commit 7a46c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ data "archive_file" "notifier_package" {
}

resource "aws_lambda_function" "pipeline_notification" {
filename = "${path.module}/lambdas/notifier.zip"
filename = data.archive_file.notifier_package.output_path
function_name = module.this.id
role = aws_iam_role.pipeline_notification.arn
runtime = "python3.8"
Expand Down

0 comments on commit 7a46c6f

Please sign in to comment.