faint-motherboard-95438
12/20/2018, 8:24 PMregisterOutputs()
method is for ? In the example here https://pulumi.io/reference/component-tutorial.html a component property this.bucketName
is added. In fact we can access the S3Folder.bucketName
without using registerOutputs()
so I don’t see the point here ?white-balloon-205
faint-motherboard-95438
12/20/2018, 9:16 PMwhite-balloon-205
registerOutputs
when the component is done registering it's children is generally a good idea even if there are no outputs (or you have not decided yet what outputs to publish). That's because the CLI dislay will show animating ...
until the resource call registerOutputs
or execution finishes. So you'll get a better idea of status in the CLI if your component reports when it is done adding children.faint-motherboard-95438
12/22/2018, 12:41 AMpulumi stack output
or any other way, right ?white-balloon-205
Stack
component which all resources without a parent are implicitly patented to. Any exports from the entry point module are turned into outputs on that Stack
resource.