This message was deleted.
# general
s
This message was deleted.
e
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
thanks!
h
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
yea thats right
👍 1