From b7ac98ed9ac12f1eee29844df7c6d38e72f11946 Mon Sep 17 00:00:00 2001 From: falsycat Date: Sat, 21 Jun 2025 10:27:55 +0900 Subject: [PATCH] fix an issue that lambda name was not told to codebuild --- infra/deployment.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/deployment.ts b/infra/deployment.ts index a985bf8..5e1b788 100644 --- a/infra/deployment.ts +++ b/infra/deployment.ts @@ -68,6 +68,7 @@ const codebuild = new aws.codebuild.Project(`${prefix}-codebuild`, { image: "aws/codebuild/standard:7.0", type: "LINUX_CONTAINER", environmentVariables: [ + { name: "IMBUSY_BE_LAMBDA", value: backend.lambda.name, }, { name: "IMBUSY_BE_BUCKET", value: backend.bucket.bucket, }, { name: "IMBUSY_FE_BUCKET", value: frontend.bucket.bucket, }, ],