👋 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 😒ad-panda:
s
stocky-restaurant-98004
03/15/2023, 6:56 PM
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
bright-wall-79582
03/16/2023, 6:11 AM
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.