Hi all, Is there a way to timeout a Pulumi action ...
# general
w
Hi all, Is there a way to timeout a Pulumi action after X number of mins? Let's say if an action doesn't complete in 20 mins, I want it to run
pulumi cancel
to unlock the stack.
v
you can use https://www.pulumi.com/docs/iac/concepts/options/customtimeouts/ to set custom timeouts on your resources. i'm not too sure how you could go about running
pulumi cancel
upon a timeout hit though. that's probably something you'd have to write in to a custom execution wrapper script
w
this is good! thanks!