<@UDB289XLZ> pretty sure there isn't direct suppor...
# general
h
@thankful-artist-95425 pretty sure there isn't direct support. You might be able to piece something together by using await/async (typescript/js) and waiting for some callback even to occur. The ffmpeg example shows how to wait for events on s3 buckets - maybe you can do somethign with Lambdas?
t
😕 I’m on GCP and with what I have setup I don’t think Google Cloud Functions could run my php migrations
Might have to resort to the ol’ pile of yaml I was trying to kill
b
We have some examples of using async actions to gate the progress of Kubernetes deployments. This one is Prometheus based https://github.com/pulumi/examples/tree/master/kubernetes-ts-staged-rollout-with-prometheus. But any promise can be used here, so you could even just shell out using
child_process
(https://nodejs.org/api/child_process.html). We do have plans for better first class support for sequenced actions like this (https://github.com/pulumi/pulumi/issues/127), but in the meantime, do you think the async callback approach will work?
t
I think something along those lines should hold me over for the time being