Is there any way to have pulumi wait until a job i...
# general
c
Is there any way to have pulumi wait until a job is run before it executes any other changes?
We need to have migrations run before pods are deployed for php-fpm/nginx.
i
not yet, I had the same issue but ended up putting the migration into the main deployment with the
maxSurge
method. Then use the
dependsOn
to wait for the deployment to complete.
this has worked for us and ends up much simpler than the migration - and effectively the same thing.
c
What do you mean dependsOn?
I think I understand the other stuff though.
Cc @plain-businessperson-30883
i
all resources allow
dependsOn
for chaining
c
Oh nice. I will give this a shot. Thanks so much for the info.