diff --git a/lambda/Dockerfile b/lambda/Dockerfile index 55a3296f..ae90a5ee 100644 --- a/lambda/Dockerfile +++ b/lambda/Dockerfile @@ -35,6 +35,6 @@ RUN go env COPY . /ws RUN mkdir -p /asset/ && \ - make OUTPUT=/asset/bootstrap && \ - file /asset/bootstrap && \ - ls -lh /asset/bootstrap + make OUTPUT=/asset/main && \ + file /asset/main && \ + ls -lh /asset/main diff --git a/src/index.ts b/src/index.ts index 633e9a9f..f850b824 100644 --- a/src/index.ts +++ b/src/index.ts @@ -141,7 +141,7 @@ export class ECRDeployment extends Construct { uuid: this.renderSingletonUuid(memoryLimit), code: getCode(props.buildImage ?? 'public.ecr.aws/sam/build-go1.x:latest'), runtime: lambda.Runtime.PROVIDED_AL2, - handler: 'bootstrap', + handler: 'main', environment: props.environment, lambdaPurpose: 'Custom::CDKECRDeployment', timeout: Duration.minutes(15),