Skip to content

Commit

Permalink
The Python version specified in the Lambda runtime has been changed f…
Browse files Browse the repository at this point in the history
…rom PYTHON_2_X to PYTHON_3_6. (#146)
  • Loading branch information
curry9999 authored and mergify[bot] committed Oct 27, 2019
1 parent b91e8f6 commit 8debfa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion typescript/custom-resource/my-custom-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MyCustomResource extends cdk.Construct {
code: new lambda.InlineCode(fs.readFileSync('custom-resource-handler.py', { encoding: 'utf-8' })),
handler: 'index.main',
timeout: cdk.Duration.seconds(300),
runtime: lambda.Runtime.PYTHON_2_7,
runtime: lambda.Runtime.PYTHON_3_6,
})),
properties: props
});
Expand Down
2 changes: 1 addition & 1 deletion typescript/lambda-cron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class LambdaCronStack extends cdk.Stack {
code: new lambda.InlineCode(fs.readFileSync('lambda-handler.py', { encoding: 'utf-8' })),
handler: 'index.main',
timeout: cdk.Duration.seconds(300),
runtime: lambda.Runtime.PYTHON_2_7,
runtime: lambda.Runtime.PYTHON_3_6,
});

// Run every day at 6PM UTC
Expand Down

0 comments on commit 8debfa8

Please sign in to comment.