sparse-intern-71089
09/02/2022, 10:25 PMminiature-musician-31262
09/02/2022, 11:19 PMdependsOn
option that references the component — e.g., like this:
const component = new MyComponent("my-component");
const bucket = new aws.s3.Bucket("my-bucket", {},
{ dependsOn: component }
);
Guessing maybe this isn’t working for you?miniature-musician-31262
09/02/2022, 11:25 PMminiature-musician-31262
09/02/2022, 11:27 PMminiature-musician-31262
09/02/2022, 11:28 PMminiature-musician-31262
09/02/2022, 11:29 PMThe call to `registerOutputs` also tells Pulumi that the resource is done registering children and should be considered fully constructed, so—although it's not enforced—the best practice is to call it in all components even if no outputs need to be registered.
victorious-dusk-75271
09/03/2022, 1:08 PM