Skip to content

Commit

Permalink
handler path
Browse files Browse the repository at this point in the history
Signed-off-by: Francis <colifran@amazon.com>
  • Loading branch information
colifran committed Nov 30, 2023
1 parent 428ae6e commit 81b7796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-dynamodb/lib/replica-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ export class ReplicaProvider extends NestedStack {
super(scope, id);

const onEventHandler = new CdkHandler(this, 'OnEvent', {
codeDirectory: path.join(__dirname, 'replica-handler'),
codeDirectory: path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-dynamodb', 'replica-handler'),
entrypoint: 'index.onEventHandler',
compatibleRuntimes: [lambda.Runtime.NODEJS_18_X],
});

const onCompleteHandler = new CdkHandler(this, 'OnComplete', {
codeDirectory: path.join(__dirname, 'replica-handler'),
codeDirectory: path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-dynamodb', 'replica-handler'),
entrypoint: 'index.isCompleteHandler',
compatibleRuntimes: [lambda.Runtime.NODEJS_18_X],
});
Expand Down

0 comments on commit 81b7796

Please sign in to comment.