https://pulumi.com logo
#python
Title
a

average-school-38756

11/11/2020, 10:21 PM
i'm looking for a way to create an AWS Lambda archive with dependencies, every time i run
pulumi up
. Is there a resource which will run a bash script or something, so that
pulumi.FileArchive
could run after?
l

lemon-agent-27707

11/11/2020, 10:24 PM
You can directly call
child_process.execSync("zip ... ...")
a

average-school-38756

11/11/2020, 10:25 PM
oh! i keep forgetting i'm actually dealing with Python, while writing IaC... thx
Ah! yes, sorry that was for typescript but you get the picture
👍 1