https://pulumi.com logo
h

hundreds-musician-51496

11/12/2018, 10:07 PM
@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

thankful-artist-95425

11/12/2018, 10:17 PM
😕 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

big-piano-35669

11/12/2018, 10:54 PM
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

thankful-artist-95425

11/12/2018, 11:14 PM
I think something along those lines should hold me over for the time being