https://pulumi.com logo
Title
m

mysterious-australia-14256

10/04/2021, 11:52 AM
I have noticed that when specifying CustomResourceOptions for calls, depandsOn can be specified as an Input type (i.e. InputList<Resource>) but Provider can't i.e. provider has to be a ProviderResource and can't be an Input<ProviderResource). Is there a reason for this difference? I am trying to pass the ID of a resource to a function and return the appropriate provider from that. Because the resource Id is of type Output<string> the resultant provider I get back is of type Output<Provider> which I then can't pass in as an arg to CustomResourceOptions.