From b3bd272979f628414d027e20cd457bf7d0ce8ecc Mon Sep 17 00:00:00 2001 From: christian-calabrese Date: Thu, 5 Dec 2024 16:37:20 +0100 Subject: [PATCH] fix: handler in ac sync lambda --- .changeset/eighty-seals-worry.md | 5 +++++ apps/infrastructure/src/modules/active_campaign/lambda.tf | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/eighty-seals-worry.md diff --git a/.changeset/eighty-seals-worry.md b/.changeset/eighty-seals-worry.md new file mode 100644 index 0000000000..c8ce6b94b8 --- /dev/null +++ b/.changeset/eighty-seals-worry.md @@ -0,0 +1,5 @@ +--- +"infrastructure": patch +--- + +Change ac sync lambda handler to index.sqsQueue diff --git a/apps/infrastructure/src/modules/active_campaign/lambda.tf b/apps/infrastructure/src/modules/active_campaign/lambda.tf index dbcaeb6bbc..1eb481488f 100644 --- a/apps/infrastructure/src/modules/active_campaign/lambda.tf +++ b/apps/infrastructure/src/modules/active_campaign/lambda.tf @@ -14,7 +14,7 @@ module "lambda_sync" { runtime = "nodejs20.x" architectures = ["x86_64"] - handler = "index.handler" + handler = "index.sqsQueue" source_path = "${path.module}/functions" ignore_source_code_hash = true create_current_version_allowed_triggers = false