https://pulumi.com logo
#general
Title
# general
q

quick-action-34599

10/24/2018, 2:47 PM
Seems like pulumi is not waiting for my aws LoadBalancer to be full provisioned before creating rules on it. Is there a way to manually wait before continuing or is this a bug that needs addressing?
e

eager-area-86739

10/24/2018, 2:50 PM
You can use:
Copy code
new resource(name, args, {
        dependsOn: [
            lambdaRolePolicy
        ]
    });
I had the same before. As far as I understand, pulumi aggressively try to create resources...
q

quick-action-34599

10/24/2018, 2:55 PM
thanks!
h

hundreds-musician-51496

10/24/2018, 4:50 PM
Is
dependsOn
only necessary if the resource doesn't take an
Output
value from the LoadBalance object?
For example, if I create a Listener, it takes a LoadBalancer ARN as input. In that case I wouldn't need
dependsOn
right?
s

sparse-insurance-40223

10/25/2018, 12:18 AM
yea thats right
👍 1