-
Notifications
You must be signed in to change notification settings - Fork 976
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
Add all supported Lambda Runtimes to CodeBuild images #608
Comments
Thanks for the feedback. CodeBuild will send an updated communication and extend the support for Ubuntu standard 5.0, until we provide viable alternative for the non-EOL language runtimes supported on this images version. |
We also acknowledge the feedback about having same language runtime versions supported across AWS services, specifically the ones used together for development. |
@subinataws, just to double-check, Ubuntu Standard 4.0 will still be depreciated? For now, I still see it listed at https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html |
Is there anyway the images can support language version overlaps with the previous image or more closely align with language versions that are available in lambda? https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html Right now, we have teams that use both Python and Node that run in Lambda in their projects. The latest supported Python version in Lambda is Python3.10 and the latest Node is 18 however the Ubuntu standard 6 supports Python3.10 and Node16 but Ubuntu standard 7 only supports Python3.11 and Node18. No matter which standard Ubuntu version my teams want to use, they will have to manually install the version in the prebuild step. This is causing some frustration for my team and leading to a poor user experience. |
The issue described here also presents a challenge for updating image versions and runtimes. The scenario is:
My humble suggestion would be to keep at least 2 versions of each runtime on every image (just like its done in |
@pliniodng That's pretty much our exact scenario also, a central repo that manages the IaC for all CodeBuild jobs, with buildspecs managed separately by each other repo. Updating the image via the IaC often creates havoc with behavioral changes, requiring updates across all the repos. I've occasionally wondered what it might look like if CodeBuild supported setting/overriding the image in the buildspec (which basically every other CI provider supports)... |
CodeBuild's latest images for Amazon Linux (e.g.: 5.0) and Ubuntu (e.g. 7.0) support all non-EOL runtime versions and should match up for your development need with Lambda. Do let us know if you face anymore issues with inconsistencies. |
We received communication from AWS that the Ubuntu Standard 4.0 and Ubuntu Standard 5.0 images will be deprecated at the end of March 2023. For various reasons we still depend on older version of Python and NodeJS which are still supported runtime s for Lambda.
In fact, thee Standard 6.0 build image only supports Python 3.10 which is current not a supported Lambda Runtime. This does not make sense. Likewise, NodeJS 12.x, NodeJS 14.x and NodeJS 18 are are all supported lambda runtimes, which will not be supported by ANY supported build images by the end of March 2023. This makes the job of your customer base much more difficult than it needs to be. Please do the heavy lifting for us and link the available runtimes with those support by Lambda
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Addendum: The same set of runtime should be available across all architectures wherever possible.
The text was updated successfully, but these errors were encountered: