sparse-intern-71089
11/15/2021, 3:49 PMbrave-ambulance-98491
11/15/2021, 6:39 PMgorgeous-egg-16927
11/15/2021, 7:00 PM<http://pulumi.com/skipAwait|pulumi.com/skipAwait>
annotation on the resource.nice-pharmacist-5320
01/16/2022, 10:42 AMindex
file and then keep everything else in an if
condition like this
if (dbMigrationJob.status.conditions[0].type.apply(t => t === 'Complete')) {
// run everything else like creating new image, pushing to ecr, creating deployment,etc
}
gorgeous-egg-16927
01/18/2022, 5:07 PMhow do you block the deployment?If I understand your question correctly, you need to specify the Job as a resource dependency. https://www.pulumi.com/docs/intro/concepts/resources/options/dependson/ has more information on this.