When can we expect an upgrade to Amazon image "aws/codebuild/amazonlinux2-x86_64-standard:2.0" with nodejs runtime version 14?

0

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.

asked 2 years ago1012 views
2 Answers
0

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

answered 2 years 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.

0

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!

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions