Skip to content

Commit

Permalink
Lambdas now live in a directory called lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
adelaydeelsevier committed May 22, 2024
1 parent 8fcf896 commit b6e47df
Show file tree
Hide file tree
Showing 79 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions terraform/modules/lambda/attendee-api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ resource "aws_iam_policy" "attendees_api_iam_policy" {
}

data "archive_file" "attendees_api_lambda_function_distribution" {
source_file = "../functions/attendees-api/main"
output_path = "../functions/attendees-api/${var.product}-attendees-api.zip"
source_file = "../lambdas/attendees-api/main"
output_path = "../lambdas/attendees-api/${var.product}-attendees-api.zip"
type = "zip"
}

Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/lambda/attendee-writer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ resource "aws_iam_role" "attendee_writer_iam_role" {
}

data "archive_file" "attendee_writer_lambda_function_distribution" {
source_file = "../functions/attendee-writer/main"
output_path = "../functions/attendee-writer/${var.product}-attendee-writer.zip"
source_file = "../lambdas/attendee-writer/main"
output_path = "../lambdas/attendee-writer/${var.product}-attendee-writer.zip"
type = "zip"
}

Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/lambda/db-trigger.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ resource "aws_iam_policy" "db_trigger_iam_policy" {
}

data "archive_file" "db_trigger_lambda_function_distribution" {
source_file = "../functions/db-trigger/main"
output_path = "../functions/db-trigger/${var.product}-db-trigger.zip"
source_file = "../lambdas/db-trigger/main"
output_path = "../lambdas/db-trigger/${var.product}-db-trigger.zip"
type = "zip"
}

Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/lambda/processor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ resource "aws_iam_policy" "processor_iam_policy" {
}

data "archive_file" "processor_lambda_function_distribution" {
source_file = "../functions/processor/main"
output_path = "../functions/processor/${var.product}-processor.zip"
source_file = "../lambdas/processor/main"
output_path = "../lambdas/processor/${var.product}-processor.zip"
type = "zip"
}

Expand Down

0 comments on commit b6e47df

Please sign in to comment.