Skip to content

Commit

Permalink
[PRMP-639] - changes path
Browse files Browse the repository at this point in the history
  • Loading branch information
NogaNHS committed Aug 6, 2024
1 parent b897708 commit 6aefaae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "error_alarm_alert_lambda_name" {
}

resource "aws_lambda_function" "error_alarm_alert_lambda" {
filename = "${path.cwd}/${var.error_alarm_alert_lambda_zip}"
filename = var.error_alarm_alert_lambda_zip
function_name = "${var.environment}-${var.error_alarm_alert_lambda_name}"
role = aws_iam_role.error_alarm_alert_lambda_role.arn
handler = "error_alarm_alert_main.lambda_handler"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "event_enrichment_lambda_name" {
}

resource "aws_lambda_function" "event_enrichment_lambda" {
filename = "${path.cwd}/${var.event_enrichment_lambda_zip}"
filename = var.event_enrichment_lambda_zip
function_name = "${var.environment}-${var.event_enrichment_lambda_name}"
role = aws_iam_role.event_enrichment_lambda_role.arn
handler = "event_enrichment_main.lambda_handler"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "s3_event_uploader_lambda_name" {
}

resource "aws_lambda_function" "s3_event_uploader_lambda" {
filename = "${path.cwd}/${var.s3_event_uploader_lambda_zip}"
filename = var.s3_event_uploader_lambda_zip
function_name = "${var.environment}-${var.s3_event_uploader_lambda_name}"
role = aws_iam_role.s3_event_uploader_role.arn
handler = "s3_event_uploader_main.lambda_handler"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "splunk_cloud_event_uploader_lambda_name" {
}

resource "aws_lambda_function" "splunk_cloud_event_uploader_lambda" {
filename = "${path.cwd}/${var.splunk_cloud_event_uploader_lambda_zip}"
filename = var.splunk_cloud_event_uploader_lambda_zip
function_name = "${var.environment}-${var.splunk_cloud_event_uploader_lambda_name}"
role = aws_iam_role.splunk_cloud_event_uploader_lambda_role.arn
handler = "splunk_cloud_event_uploader_main.lambda_handler"
Expand Down

0 comments on commit 6aefaae

Please sign in to comment.