https://pulumi.com logo
#golang
Title
s

sticky-bear-14421

06/21/2021, 2:08 PM
I've got another question, is there a rule of thumb on on when to use
foo.bar..ApplyT()
to enforce Pulumi to wait for the creation of a particular resource?
As one can see from my last questions and in particular the debugging question last Tuesday, Im still struggling with the simple task of chaining two providers .. I always the the error message of cannot be assumed .. just because the first one isn't ready, when the second one is being created ..
Even tough I properly chain these two with pulumi.Provider(myProvider) ..
Which I think should be enough to make Pulumi recognize, that one resource depends on another one ..
I am under the impression, that I miss something important, as my code starts to become a cascade of .ApplyT()'s
s

stocky-spoon-28903

06/23/2021, 3:06 PM
What are you trying to achieve? Providers don’t generally do much on their own, so depending on them is very uncommon.
3 Views