Skip to content

Commit

Permalink
fix: cannot deploy nodejs function
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Oct 29, 2024
1 parent b0828b3 commit a2c0d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class ThingWithCert extends Construct {
);

const onEventHandler = new nodejs.NodejsFunction(this, 'lambdaFunction', {
entry: join(__dirname, 'lambda', 'index.ts'),
entry: join(__dirname, 'lambda', 'index.js'),
handler: 'handler',
timeout: Duration.seconds(10),
role,
Expand Down

0 comments on commit a2c0d14

Please sign in to comment.