From 93e95a18d0a8683f8d8c0b492f27e5756d409a6b Mon Sep 17 00:00:00 2001 From: shailja Date: Tue, 1 Oct 2024 18:50:10 -0700 Subject: [PATCH] changed the default build image for Codebuild project --- packages/aws-cdk-lib/aws-codebuild/lib/project.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/aws-cdk-lib/aws-codebuild/lib/project.ts b/packages/aws-cdk-lib/aws-codebuild/lib/project.ts index 089757a96bc31..42bdca951ba99 100644 --- a/packages/aws-cdk-lib/aws-codebuild/lib/project.ts +++ b/packages/aws-cdk-lib/aws-codebuild/lib/project.ts @@ -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; @@ -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. @@ -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;