pulumi.DependsOn should allow dependencies on Output #7429
Labels
kind/enhancement
Improvements or new features
resolution/duplicate
This issue is a duplicate of another issue
Hi all.
Go currently does not support dynamic providers, which means I cannot implement custom resources. I have a use case which is described by the following pseudo-code:
In this case, I need to make API calls to some external service, and I want those calls to be a pre-requisite of creating any subsequent resources. In order to do this, I can return a
BoolOutput
from theApplyT
call, but I have no way of injecting thisOutput
into the dependency graph.If Go had support for dynamic providers, it's possible I could wrap this in a custom resource.
In general, I feel like Pulumi users should be able to express dependencies on any awaitable value or asynchronous task, instead of only resources managed by Pulumi. To me, this is a killer feature of Pulumi vs. something like Terraform.
The text was updated successfully, but these errors were encountered: