https://pulumi.com logo
Title
b

bright-sandwich-93783

07/06/2021, 1:59 PM
Hi all. the
pulumi.DependsOn
option requires a resource. Is there a way to enforce dependency on `Outputs`instead? Since I cannot implement a custom resource provider in Go, the best I can do is use an
ApplyT
call on an output to make manual API calls, and reeturn a
BoolOutput
to indicate success or not. I would like subsequent resources created to
Depend On
that
BoolOutput
. Any thoughts?
b

better-shampoo-48884

07/06/2021, 2:08 PM
I think there's an issue for this on pulumi/pulumi somewhere.. feel like this was covered recently - a feature request for dependsOn to be able to await any asynchronous value really
b

bright-sandwich-93783

07/06/2021, 2:09 PM
thanks. happen to have that isssue link handy?
b

better-shampoo-48884

07/06/2021, 2:09 PM
I'll take a minute to see what I can dig up 😉
b

bright-sandwich-93783

07/06/2021, 2:09 PM
thx!
b

better-shampoo-48884

07/06/2021, 2:10 PM
b

bright-sandwich-93783

07/06/2021, 3:09 PM
Thanks!
I don't think that issue is exactly the issue I'm describing here
feel free to upvote / comment!