fix an issue that lambda name was not told to codebuild

This commit is contained in:
falsycat 2025-06-21 10:27:55 +09:00
parent 89edcce799
commit b7ac98ed9a

View File

@ -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, },
],