https://pulumi.com logo
a

average-dream-51210

06/09/2019, 8:37 PM
Do I do a 'depends on'?
l

little-summer-88406

06/10/2019, 12:13 PM
If you create a resource via new.. e.g. var inst1 = new gcp.sourceRepo you will find the attributes are Output<T> e.g. inst1.name is Output<String> you can then pass that as the input to the next resource you create.. You can customize it with apply. iirc the concept docs show this in action quite well... (cough it's heavily monad influence although I note they dont dare mention the word)
a

average-dream-51210

06/10/2019, 7:11 PM
awesome thanks 🙂
Ah just took a look at Pulumi.all to construct policy documents dependent on multiple output values, Awesome! Thanks for the finger in the right direction.