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

microscopic-postman-4756

07/12/2022, 6:27 PM
Is anyone running their Pulumi stack in something like AWS Lambda? As in,
index.ts
of Pulumi is actually a function and I can trigger it from all the usual lambda sources?
b

bored-oyster-3147

07/12/2022, 7:40 PM
I think you would need to use Automation API to accomplish this, and since that still depends on the Pulumi CLI you'll probably need to use a Lambda container for your function that has the CLI installed
🙌 1
But it should be doable now
Something that occurs to me, serverless functions tend to have moderate to strict timeout constraints so you'll want to make sure that isn't an issue
m

microscopic-postman-4756

07/13/2022, 12:53 AM
ooh, good point
Thank you for this and the pointer to automation API
2 Views