I’m seeing something similar with a Kubernetes deployment that depends on a docker image. The deployment is created before the image is built and pushed. Seems like a bug. https://github.com/pulumi/pulumi-docker/issues/18
f
flaky-receptionist-88878
09/17/2018, 2:58 PM
In my example I don’t have dependency between my shell.exec and the pulumi docker resource. I’m guessing if I pu my shell.exec into a custom resource and said it depends on the image2 I would run into your bug.
flaky-receptionist-88878
09/17/2018, 2:59 PM
So maybe my question is, is there a way to put a dependency on normal nodejs(shell.exec) code and a pulumi resource(image2)?