Skip to content

Commit

Permalink
chore: fix typo in lambda nodejs16.x runtime (#20264)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
madeline-k authored May 9, 2022
1 parent 98373ea commit d603680
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class Runtime {
/**
* The NodeJS 16.x runtime (nodejs16.x)
*/
public static readonly NODEJS_16_X = new Runtime('nodejs14.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });
public static readonly NODEJS_16_X = new Runtime('nodejs16.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });

/**
* The Python 2.7 runtime (python2.7)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
]
},
"Handler": "index.handler",
"Runtime": "nodejs14.x"
"Runtime": "nodejs16.x"
},
"DependsOn": [
"NODEJS16XServiceRoleB9DAFDFD"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"17.0.0"}
{"version":"18.0.0"}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "18.0.0",
"testCases": {
"aws-lambda/test/integ.runtime.inlinecode": {
"integ.runtime.inlinecode": {
"stacks": [
"aws-cdk-lambda-runtime-inlinecode"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@
]
},
"handler": "index.handler",
"runtime": "nodejs14.x"
"runtime": "nodejs16.x"
}
},
"constructInfo": {
Expand Down

0 comments on commit d603680

Please sign in to comment.