Skip to content

CodeBuild ARM image with CDK and newer Golang?

0

I'm using the image LinuxArmBuildImage_AMAZON_LINUX_2023_STANDARD_3_0 for CodeBuild.

CDK CLI is not built-in and the Golang version is pretty old. Is there a newer image I should be using?

1 Answer
0

AWS Cloud Development Kit (CDK) is not built into AWS CodeBuild managed images. If you need CDK CLI in your build environment, you need to install it yourself as part of your buildspec, typically using npm install -g aws-cdk in the install phase. This will make sure you get the specific CDK version you need for your pipeline.

Use the latest standard CodeBuild images, or the equivalent ARM variant, to get the newest runtimes. The latest AWS CodeBuild image aws/codebuild/amazonlinux-x86_64-standard:5.0 includes Go versions 1.20, 1.21, 1.22, and 1.23.

AWS

answered a year 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.