diff --git a/src/index.ts b/src/index.ts index ba6e35b..20d5033 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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,