https://pulumi.com logo
Title
e

echoing-oil-42947

01/31/2023, 12:08 AM
Out of curiosity; to manually establish dependencies;

https://share.asdn.dev/r/pzQQal.png

Does resource 1 need to have a
dependsOn
resource 3 explicitly? Or because 3 is a child of 2, will 1 wait until 3 is provisioned if only given a dependency on 2 manually
b

billowy-army-68599

01/31/2023, 12:21 AM
if you pass an output from one resource as an input to another, the dependency chain is built automatically. if you don’t have any outputs/input cgain, you can use
dependsOn
n

nice-rain-32013

02/04/2023, 9:16 AM
and imagine i have a series of resources defined in a loop, like A1->B1, A2->B2 etc. since there is some magic happening with parallelism, do i have to put A1 and A2 in separate variables to pass as inputs to the Bs, or foo=An in the loop going to work just fine? I know m y question may sound silly, but...