Skip to content

Commit 2883b39

Browse files
author
Kolomiets
committed
Fix relative lambda location
1 parent 3db5cab commit 2883b39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/construct/RetryWithJitterTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class RetryWithJitterTask extends sfn.Parallel {
5252

5353
const calculateJitterLambda = new lambda.Function(this, 'CalculateJitterLambda', {
5454
runtime: lambda.Runtime.PYTHON_3_8,
55-
code: lambda.Code.fromAsset(__dirname + '/lambda/jitter'),
55+
code: lambda.Code.fromAsset(__dirname + '/../../lambda/jitter'),
5656
handler: "main.lambda_handler",
5757
});
5858

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cdk-stepfunctions-patterns",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "A set of Step Functions high-level patterns.",
55
"scripts": {
66
"build": "jsii",

0 commit comments

Comments
 (0)