:wave: I was wondering how do you package your Lam...
# typescript
b
👋 I was wondering how do you package your Lambda’s? I keep hitting the issue with Pulumi not being able to serialize…. is the only way out to bundle things myself and give Puluimi a zip? having to not use dependencies because of this issue is not ideal. I have tried some of the work arounds suggested on some issues, but they don’t always work sad panda
s
You can use the Command to provider to call
make
or you can use
FileAsset
. Those aren't the only 2 ways, but they're common solutions.
Oh, re-reading this, that might not work for function serialization.
b
what I was thinking was that I’d have to bundle the Node app myself using webpack or something and then point to the ZIP generated in my Pulumi code.