From 5b0e68edb52e5a9650bf78d710292a795042568e Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Thu, 10 Dec 2020 13:22:36 -0700 Subject: [PATCH] chore(codebuild): update default build image to STANDARD_4_0 --- packages/@aws-cdk/aws-codebuild/lib/project.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@aws-cdk/aws-codebuild/lib/project.ts b/packages/@aws-cdk/aws-codebuild/lib/project.ts index 597a816ca8fc1..2952804e5fff0 100644 --- a/packages/@aws-cdk/aws-codebuild/lib/project.ts +++ b/packages/@aws-cdk/aws-codebuild/lib/project.ts @@ -436,7 +436,7 @@ export interface CommonProjectProps { /** * Build environment to use for the build. * - * @default BuildEnvironment.LinuxBuildImage.STANDARD_1_0 + * @default BuildEnvironment.LinuxBuildImage.STANDARD_4_0 */ readonly environment?: BuildEnvironment; @@ -706,7 +706,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_4_0; // let source "bind" to the project. this usually involves granting permissions // for the code build role to interact with the source. @@ -1198,7 +1198,7 @@ export interface BuildEnvironment { /** * The image used for the builds. * - * @default LinuxBuildImage.STANDARD_1_0 + * @default LinuxBuildImage.STANDARD_4_0 */ readonly buildImage?: IBuildImage;