4 ms·
> AWS’s dependency management is literally bundle it up locally and upload a zip. That's true and not great IMO either, I also wish the zip wasn't necessary -
by OJFord 5y ago
> AWS’s dependency management is literally bundle it up locally and upload a zip.
That's true and not great IMO either, I also wish the zip wasn't necessary - in the 'bootstrap' binary case just let me upload the binary! - but in case you're not aware of layers (just guessing from 'dependencies') it can be improved a bit:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html https://docs.aws.amazon.com/lambda/latest/dg/configuration-l...
> What happens if a ARM package can’t be built locally.
An Arm package can only not be built locally if you decline to use tools that'd allow you to do so?
- HatchedLake721 5y agoZip is not necessary anymore https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ https://aws.amazon.com/blogs/aws/new-for-aws-lambda-containe...
- OJFord 5y agoAh I'd forgotten about that, thanks! I haven't created any since then other than via Serverless, which.. a large part of my distaste for it is the opaqueness and not knowing what it's doing, but I assume it uses zip method.
- zxcvbn4038 5y agoI wish cloud formation allowed for more then 4096 bytes of inlined code. The underlying API allows for 50MB, sometimes it’s really nice to be able to deploy from cloudformation without all of the overhead for S3 or ECR.