This message was deleted.
# general
s
This message was deleted.
l
Isn't a component resource already dependent on its child resources? Just make sure that their parent is the component resource, and it should work, I think.
Though the constructor will return immediately, any
Apply
for things like its Id won't happen until the child resources' _Id_'s are available.
b
What @little-cartoon-10569 said. For clarity's sake I think what you're missing is the:
Copy code
var resourceA = new A(
    ...,
    customResourceOptions: {
        parent: this,
    });
Which is what explicitly forms that relationship.
w
So you have to set the parent explicitly. Will try, thanks.