Skip to content

Commit

Permalink
changed the default build image for Codebuild project
Browse files Browse the repository at this point in the history
  • Loading branch information
khushail committed Oct 2, 2024
1 parent 7e80cc9 commit 93e95a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-cdk-lib/aws-codebuild/lib/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export interface CommonProjectProps {
/**
* Build environment to use for the build.
*
* @default BuildEnvironment.LinuxBuildImage.STANDARD_1_0
* @default BuildEnvironment.LinuxBuildImage.STANDARD_7_0
*/
readonly environment?: BuildEnvironment;

Expand Down Expand Up @@ -1060,7 +1060,7 @@ export class Project extends ProjectBase {
});
this.grantPrincipal = this.role;

this.buildImage = (props.environment && props.environment.buildImage) || LinuxBuildImage.STANDARD_1_0;
this.buildImage = (props.environment && props.environment.buildImage) || LinuxBuildImage.STANDARD_7_0;

// let source "bind" to the project. this usually involves granting permissions
// for the code build role to interact with the source.
Expand Down Expand Up @@ -1624,7 +1624,7 @@ export interface BuildEnvironment {
/**
* The image used for the builds.
*
* @default LinuxBuildImage.STANDARD_1_0
* @default LinuxBuildImage.STANDARD_7_0
*/
readonly buildImage?: IBuildImage;

Expand Down

0 comments on commit 93e95a1

Please sign in to comment.