Closed
Description
Describe the bug
Theres is an incorrect validation here:
that results in error likeARM images only support ComputeTypes 'BUILD_GENERAL1_SMALL' and 'BUILD_GENERAL1_LARGE' - 'BUILD_GENERAL1_XLARGE' was given at PipelineProject.renderEnvironment
.
ARM images support all compute types, this is probably outdated.
Expected Behavior
Should support all compute types.
Current Behavior
Only supports small and large.
Reproduction Steps
create codebuild arm project with compute type XLARGE
Possible Solution
Just remove this code:
aws-cdk/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-build-image.ts
Lines 112 to 116 in 9bd92da
Additional Information/Context
No response
CDK CLI Version
2.149.0 (build c8e5924)
Framework Version
No response
Node.js Version
18
OS
macos
Language
TypeScript
Language Version
No response
Other information
No response