Closed lorefnon closed 2 years ago
Thanks for reporting this @lorefnon,
Limitation of deployment due to size is something we're aware of and tracking here. Please take further concerns and discussions to that issue, thanks!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I am using aws-cdk v2 typescript to deploy a static site (s3 bucket fronted by cloudfront CDN)
When using CDK, my deployment randomly fails with an error like this:
I assume that this has something to do with the size of the zip because as the artifact size has grown (currently ~110MB) this has become increasingly frequently. My last workflow run failed about 10 times before succeeding.
Expected Behavior
S3 deployment through CDK works reliably
Current Behavior
Frequent SIGKILL failures
Reproduction Steps
My (stripped-down) configuration looks like this:
Possible Solution
No response
Additional Information/Context
For now I have replaced my deployment workflow to use aws cli directly instead of cdk:
and I have yet to encounter any failure - it works reliably everytime.
I'd ideally want to use CDK which prevents me from having to pass around the resource ids. Any help is much appreciated - thanks in advance.
CDK CLI Version
2.12.0
Framework Version
2.12.0
Node.js Version
18
OS
Ubuntu
Language
Typescript
Language Version
4.5.5
Other information
No response