-
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
chore(lambda): upgrade default runtime for custom resource provider and function to nodejs_20 #29681
Conversation
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.
Curious how do you confirm that we didn't miss anywhere?
ran |
packages/aws-cdk-lib/aws-stepfunctions-tasks/test/evaluate-expression.test.ts
Show resolved
Hide resolved
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.
Looks good so far! You may be working on it but this should be included too -
Runtime: 'nodejs18.x', |
Added in latest commit |
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.
Just a couple of comments but overall I think this is looking good so far. One quick question I have is what the scope of this task is intended to be. We have some testing infra that is likely hardcoded to node18 (not meaning the framework integ tests that I had asked to be split out, other places). So, fi this change is meant to be exhaustive for the repo, some things may have been missed.
...es/@aws-cdk/custom-resource-handlers/lib/custom-resources-framework/utils/framework-utils.ts
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
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.
Just one quick comment
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.
As long as all the integ tests pass, we should be good.
Well, I've got some unfortunate news, I was searching for something unrelated to this change and discovered that node20 isn't available in GovCloud, ADC, or China regions so in places where |
@TheRealAmazonKendra Given that news it seems like moving forward here doesn't make sense until node20 is available in GovCloud, ADC, and China regions. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
Updating this to requesting changes as Node20 ins not available in all partitions.
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes: #28125
Tracking Ticket: #29786
Reason for this change
Keeping dependencies up to date with latest release in custom resource provider function and lambda default runtime value for Nodejs
Description of changes
Update default runtime defined in HandlerFrameworkModule to update custom resource provider
Update runtime for custom resource provider still using CfnResource.
Update for providers in alpha modules.
Unit Test updated with expected runtime value
Update to expected runtime value in integ test along with snapshots.
Description of how you validated changes
Ran Integration Tests(framework-integ) to validate custom resources behaviour after the upgrade.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license