https://pulumi.com logo
#general
Title
# general
d

dazzling-memory-8548

05/21/2020, 6:49 PM
I have a question about lambda closure serialization. We're using nodejs with pulumi to deploy our lambdas as callback functions (https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#CallbackFunction). We recently pulled in a dependency (
parquetjs
) that has a compiled sub-dependency (
lzo
). We've now noticed that every time we rebuild our
node_modules
directory (with
npm ci
), the hash of the compiled
lzo
module changes, causing pulumi to want to redeploy all of our lambdas (even though no deps have actually changed). Is there an elegant workaround to prevent pulumi from continuously redeploying our lambdas? We've already tried excluding
lzo
in
codePathOptions
. cc @worried-engineer-33884
w

worried-engineer-33884

05/22/2020, 6:02 PM
@white-balloon-205 do you have any insight on this by chance?
@faint-table-42725?
d

dazzling-memory-8548

06/04/2020, 9:57 PM
f

faint-table-42725

06/05/2020, 2:42 AM
Oops, sorry, @worried-engineer-33884 not sure how I missed you tagging me here. I replied to the issue without any great ideas unfortunately