When can we expect an upgrade to Amazon image "aws/codebuild/amazonlinux2-x86_64-standard:2.0" with nodejs runtime version 14?
As per a communication received from AWS, we need to update our application from CDK v1 to v2. Since the minimum requirement to do this update is we need node js version>=14 which is currently v12 for Amazon image "aws/codebuild/amazonlinux2-x86_64-standard:2.0". Hence we cannot upgrade the CDK version to v2 until there is an upgarde available . We would want to know when can we expect upgrade to the mentioned image for runtime nodejs version 14.
Hi,
As you know that Nodesj v12 is the latest for Amazon Linux 2 x86_64 standard:2.0 and v14 being latest version on nodejs.
To view the latest versions you can consult the attached document[1].
Regrettably, node js version>=14 is currently not made available for Amazon Linux 2 x86_64 standard:2.0, I am certain that the internal team is constantly working towards releasing the nodes v14 for the above mentioned Image. I would also advised you to keep an eye on what’s new for future releases: https://aws.amazon.com/new/
I hope this helps.
Resources:
[1] https://docs.aws.amazon.com/codebuild/latest/userguide/available-runtimes.html
Hi there,
Upon doing further testing and replication on my side, I was able to install nodejs.x86_64 version 14.19.3-1 successfully by using repo https://rpm.nodesource.com/setup_14.x and then installed aws-cdk@2.28.1 as can be seen below:
sudo su -
amazon-linux-extras install epel -y
yum install curl -y
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
yum install nodejs -y
npm install -g aws-cdk
Confirmed that nodejs is installed:
[root@ip-172-31-54-73 ~]# yum list installed nodejs
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
208 packages excluded due to repository priority protections
Installed Packages
nodejs.x86_64 2:14.19.3-1nodesource @nodesource
[root@ip-172-31-54-73 ~]#
Confirmed that cdk is installed:
[root@ip-172-31-54-73 ~]# cdk --version
2.28.1 (build d035432)
[root@ip-172-31-54-73 ~]#
I hope this helps, have a pleasant day!
Relevant questions
AWS MediaConvert - Generate a waveform image from an audio
asked 25 days agoR20210426-P2 software update - does that upgrade ElascticSearch version?
Accepted Answerasked a year agoAWS ElasticBeanstalk NodeJS Application version cannot be uploaded/deployed/reverted "Unable to create the application version:" / "Validation error"
asked 6 months agoWhy we need to restart LightSail after interval of some days
asked a month agoHow long can we use 'Multi-container Docker running on 64bit Amazon Linux' on Beanstalk?
asked 2 months agoRDS PostgreSQL minor version upgrade wasn't performed
asked 3 years agoWhen can we expect an upgrade to Amazon image "aws/codebuild/amazonlinux2-x86_64-standard:2.0" with nodejs runtime version 14?
asked 15 days agoWhich node version is compatible with CDK v2?
asked 19 days agoAWS Lambda Application Runtime Limitations
Accepted Answerasked 2 years agoRecent update to Code Deploy now breaking build (we made no changes)
asked a year ago
Hello, Thanks for the update. Also is there any workaround which can be implemented until then, so that we can still upgrade to CDK v2.