This message was deleted.
# aws
s
This message was deleted.
d
I use webpack to pack it in one single file, at least it also shrinks the size, importing only what's necessary
layers are another option, or docker images
l
I have no webpack experience and a few lambdas. How does this work with your repos and CI? Do you have your lambda code elsewhere and packed in a previous CI step? Is there a Pulumi example that you used to get started?
c
Thanks for the tips Antonio. I have no webpack experience. Since in this project Lambdas are infra related - such as antivirus support - I'm going to check the Docker option; Include the Dockerfile to the Pulumi code, build (install dependencies...)/push image with Pulumi and then use it with Lambda. Let's see how it goes
👍 1
d
webpack is not too hard, config file and then you need a 'build' step before doing pulumi up. the pulumi config will point to the packed file/folder and that's it
👍 1