sparse-intern-71089
01/22/2021, 4:34 PMwitty-candle-66007
01/22/2021, 4:52 PM{parent: this}
to those resources being declared in the class.
For example:
this.vpc = new aws.ec2.Vpc(name, {
cidrBlock: args.cidrBlock,
enableDnsHostnames: true,
tags: { ...args.tags },
}, { parent: this })
proud-hair-78501
01/22/2021, 4:52 PMproud-hair-78501
01/22/2021, 4:53 PMwitty-candle-66007
01/22/2021, 5:01 PMproud-hair-78501
01/22/2021, 5:05 PMdependsOn: someOtherResource
will all children of my class (as declared by parent: this) also wait for “someOtherResource” to be readyproud-hair-78501
01/22/2021, 5:06 PMwitty-candle-66007
01/22/2021, 5:24 PMproud-hair-78501
01/22/2021, 5:24 PM