A CDK Lambda Bundle-Size Gate for CI
A deploy in one of my CDK projects passed every gate I have — CI, cdk synth, code review — and merged. The CloudFormation stack deployment to AWS failed with:
InvalidRequest: Unzipped size must be smaller
than 262144000 bytes
262,144,000 bytes is 250 MiB, AWS's hard limit on
#AWS
#CDK
#Lambda