Skip to content

Commit

Permalink
fix: load handler via relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
berenddeboer committed Sep 16, 2022
1 parent 8c6fdef commit b01732f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Provider extends Construct {
): lambda.NodejsFunction {
const fn = new lambda.NodejsFunction(scope, id, {
vpc: props.vpc,
entry: "src/handler.ts",
entry: "./src/handler.ts",
runtime: Runtime.NODEJS_14_X,
timeout: Duration.seconds(300),
bundling: {
Expand Down

0 comments on commit b01732f

Please sign in to comment.