Skip to content

Commit

Permalink
upgrade lambda node runtime to 14 (#28)
Browse files Browse the repository at this point in the history
* upgrade lambda node runtime to 14

* Updates version references

Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
udondan and actions-user committed May 1, 2021
1 parent 84160a5 commit c9faac9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ const keyPair = new KeyPair(this, 'A-Key-Pair', {
[npm]: https://www.npmjs.com/package/cdk-ec2-key-pair
[PyPI]: https://pypi.org/project/cdk-ec2-key-pair/
[NuGet]: https://www.nuget.org/packages/CDK.EC2.KeyPair/
[docs]: https://awscdk.io/packages/cdk-ec2-key-pair@2.1.1
[docs]: https://awscdk.io/packages/cdk-ec2-key-pair@2.2.0
[source]: https://github.com/udondan/cdk-ec2-key-pair
[license]: https://github.com/udondan/cdk-ec2-key-pair/blob/master/LICENSE
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.2.0
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export class KeyPair extends cdk.Construct implements cdk.ITaggable {
functionName: `${this.prefix}-${cleanID}`,
role: role,
description: 'Custom CFN resource: Manage EC2 Key Pairs',
runtime: lambda.Runtime.NODEJS_10_X,
runtime: lambda.Runtime.NODEJS_14_X,
handler: 'index.handler',
code: lambda.Code.fromAsset(path.join(__dirname, '../lambda/code.zip')),
timeout: cdk.Duration.minutes(lambdaTimeout),
Expand Down

0 comments on commit c9faac9

Please sign in to comment.