-
Notifications
You must be signed in to change notification settings - Fork 158
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
Update aws lambda runtime constants #4424
Comments
I was using those constants from this code from But I just discovered there is another file that is up to date here: Now the question is what is the difference and if the old one can be removed. |
Glad you found the updated list. The SDK retains the older enum values for backwards-compat, as the doc comment says: /** The NodeJS12dXRuntime constant is deprecated, use Runtime.NodeJS12dX instead. */
export let NodeJS12dXRuntime: Runtime = "nodejs12.x"; |
Looks like these were marked with I will follow up here with the team, thanks for calling this to our attention. |
Update the aws.lambda runtime constants to add the new versions available.
In this repo's file:
https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/lambda/runtimes.ts
In particular related to NodeJs I can only see up to "
nodejs12.x
", and at the moment of this writing there is up until "nodejs20.x
", so it is missing:"
nodejs14.x
""
nodejs16.x
""
nodejs18.x
""
nodejs20.x
"For the other languages I imagine it is also outdated.
The "
@deprecated
" comment should also be added to the relevant versions.The text was updated successfully, but these errors were encountered: