sparse-intern-71089
06/22/2020, 7:38 PMwhite-balloon-205
apply
on the outputs you depend on so that it runs at the right time, and can use pulumi.runtime.isDryRun() to skip doing it in preview if appropriate.enough-kite-69616
06/23/2020, 2:44 PMapply
on custom resources like cluster role bindings. Is there a way to wait for those, too?enough-kite-69616
06/23/2020, 3:01 PMwhite-balloon-205
There's noÂEvery property of the resource will be an on custom resources like cluster role bindings. Is there a way to wait for those, too?apply
Output
with an apply
. Pick the ones you depend on, and if there are more than one use pulumi.all
.
Also, in TypeScript how can I turn a Promise from calling out to the shell into an Output<Resource> so I can use it in a dependsOn section?
pulumi.output(promise)
. Or if you return the promise from an apply
callback, it will automatically get folded in to the Output
returned from apply
.