Skip to content

Commit d603680

Browse files
authored
chore: fix typo in lambda nodejs16.x runtime (#20264)
Fixed a typo in this earlier PR: #20261 , and re-ran the integration tests. ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 98373ea commit d603680

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/@aws-cdk/aws-lambda/lib/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class Runtime {
8383
/**
8484
* The NodeJS 16.x runtime (nodejs16.x)
8585
*/
86-
public static readonly NODEJS_16_X = new Runtime('nodejs14.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });
86+
public static readonly NODEJS_16_X = new Runtime('nodejs16.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });
8787

8888
/**
8989
* The Python 2.7 runtime (python2.7)

packages/@aws-cdk/aws-lambda/test/runtime.inlinecode.integ.snapshot/aws-cdk-lambda-runtime-inlinecode.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
]
345345
},
346346
"Handler": "index.handler",
347-
"Runtime": "nodejs14.x"
347+
"Runtime": "nodejs16.x"
348348
},
349349
"DependsOn": [
350350
"NODEJS16XServiceRoleB9DAFDFD"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"17.0.0"}
1+
{"version":"18.0.0"}

packages/@aws-cdk/aws-lambda/test/runtime.inlinecode.integ.snapshot/integ.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "18.0.0",
33
"testCases": {
4-
"aws-lambda/test/integ.runtime.inlinecode": {
4+
"integ.runtime.inlinecode": {
55
"stacks": [
66
"aws-cdk-lambda-runtime-inlinecode"
77
],

packages/@aws-cdk/aws-lambda/test/runtime.inlinecode.integ.snapshot/tree.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
]
632632
},
633633
"handler": "index.handler",
634-
"runtime": "nodejs14.x"
634+
"runtime": "nodejs16.x"
635635
}
636636
},
637637
"constructInfo": {

0 commit comments

Comments
 (0)