build project environment image override

0

As we got an email that aws/codebuild/standard:4.0 is going to be suspended soon and we need to update this , so if we will update this there are services running on y machine so my question is. are those services or my machine will be affected by this change?

Enter image description here

asked a year ago302 views
1 Answer
0

One easy way of testing this is to open your CodeBuild project and to perform a build with overrides (see "Start build with overrides" button). Here, select "Advanced build overrides" to gain access to the option to modify the environment image. Select "Override image" and chose the new image that you want to test your build with, for example "aws/codebuild/standard:6.0" if you want to update from Ubuntu 18.04 (standard 4:0) to Ubuntu 22.04, which is the latest Ubuntu image provided by CodeBuild as of this date. Confirm the selection with "Start build" and verify via the build status and logs.

If everything went fine, you can safely update the build project permanently with the successfully tested image. Depending on whether you're using an "Infrastructure as Code" approach such as CloudFormation, CDK or Terraform, you'll either have to update the image within the corresponding code, or you apply the changes via the AWS Console ("Edit" > "Environment" > "Override image").

Hope this helps!

profile pictureAWS
Daniel
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.

Guidelines for Answering Questions