This message was deleted.
# aws
s
This message was deleted.
d
we use webpack and merge all the dependencies in one single file. it seems to be the best option also minify and have an optional size. Before we used to copy dependencies in the build folder and then point pulumi there.
b
@damp-school-17708 You mean you dont compile with pulumi , instead of that you use webpack then the file will upload to AWS by using pulumi
'new pulumi.asset.FileArchive("./file.zip")'
.
d
yep
I pass the folder though
b
got it thank you
@damp-school-17708 I guess I use
serverless
for Lambda and provision with
Pulumi
,
Serverless
got a lot of plugins as well
d
those are two different things, serverless framework leverages cloudformation (behind the scenes generates a cloudformation template, at least in AWS), pulumi calls AWS api via Terraform afaik
so you can't really use the two together (Afaik)