-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lambda): Migrate away from NODEJS_10_X and NODEJS_12_X to NODEJS_14_X #20595
Conversation
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
I didn't see any specific issues. The core team should look into this PR very soon. Thank you for yet another awesome PR @robertd ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @robertd, thanks for doing this! Looks like the changes fall into the following categories:
- integ test version updates -> these are all fine
- hash changes -> also fine
- updating lambda runtimes -> the manual work you did, also great
- weird things here and there that I tried to call out. not necessarily anything you can do, but wanted to call attention to them.
- the
does-not-exist.json
file, which shouldn't be in this PR :).
Want to get this in fast, so I'm going to investigate a few of my own comments, hope that's ok.
...pshot/asset.41fc8f2dc7c01b34dda9916c7f763e7b7909eb629da9ffe879cb786114aae736.bundle/index.js
Show resolved
Hide resolved
...ambda/test/runtime.inlinecode.integ.snapshot/aws-cdk-lambda-runtime-inlinecode.template.json
Show resolved
Hide resolved
.../s3-bucket.lit.integ.snapshot/aws-cdk-firehose-delivery-stream-s3-all-properties.assets.json
Show resolved
Hide resolved
...es/@aws-cdk-containers/ecs-service-extensions/test/assign-public-ip.integ.snapshot/tree.json
Show resolved
Hide resolved
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
@kaizencc & @jogold Thanks for stepping in and taking a look. Much appreciated. New Again... thanks for stepping in and pushing this across the finish line. ❤️ |
Would be utterly amazing to get this backported to CDKv1, as migrations to v2 might take time but deploys will stop working for older nodejs versions on v1... |
This is causing failures because some aws code build images dont support nodejs 14 yet as per #20739 |
…_14_X (aws#20595) Spiritual successor of aws#20531 <img width="487" alt="Screen Shot 2022-06-01 at 9 08 18 PM" src="https://user-images.githubusercontent.com/31543/171552028-7153063a-1c19-4972-ab89-6f280a4e9326.png"> - Migrated away (tests, docs, internal use) from NODEJS_10_X to NODEJS_14_X - Migrated away (tests, docs, internal use) from NODEJS_12_X to NODEJS_14_X - Added NODEJS_16_X to CustomResources - Update CustomResources to use nodejs14.x by default - Updated integration tests across the board. Some integ tests introduced destructive changes (expected with change of nodejs runtime) Closes aws#20568 Closes aws#19992 Closes aws#20474 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/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/main/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*
@NickDarvey Looks like it is in 2.28.0 or higher ( CHANGELOG.v2.md ) but was never backported to 1.x |
What @jacobtolar said. I'd suggest updating to CDK v2 if you can. |
This is a backport of #20595. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Spiritual successor of #20531
Closes #20568
Closes #19992
Closes #20474
All Submissions:
Adding new Unconventional Dependencies:
New Features
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