Skip to content

Commit 8debfa8

Browse files
curry9999mergify[bot]
authored andcommitted
The Python version specified in the Lambda runtime has been changed from PYTHON_2_X to PYTHON_3_6. (#146)
1 parent b91e8f6 commit 8debfa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

typescript/custom-resource/my-custom-resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class MyCustomResource extends cdk.Construct {
2323
code: new lambda.InlineCode(fs.readFileSync('custom-resource-handler.py', { encoding: 'utf-8' })),
2424
handler: 'index.main',
2525
timeout: cdk.Duration.seconds(300),
26-
runtime: lambda.Runtime.PYTHON_2_7,
26+
runtime: lambda.Runtime.PYTHON_3_6,
2727
})),
2828
properties: props
2929
});

typescript/lambda-cron/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class LambdaCronStack extends cdk.Stack {
1313
code: new lambda.InlineCode(fs.readFileSync('lambda-handler.py', { encoding: 'utf-8' })),
1414
handler: 'index.main',
1515
timeout: cdk.Duration.seconds(300),
16-
runtime: lambda.Runtime.PYTHON_2_7,
16+
runtime: lambda.Runtime.PYTHON_3_6,
1717
});
1818

1919
// Run every day at 6PM UTC

0 commit comments

Comments
 (0)