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
.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by