sparse-intern-71089
10/20/2020, 11:23 PMlemon-agent-27707
10/20/2020, 11:27 PMlemon-agent-27707
10/20/2020, 11:28 PMlemon-agent-27707
10/20/2020, 11:28 PMlemon-agent-27707
10/20/2020, 11:29 PMlemon-agent-27707
10/20/2020, 11:29 PMlemon-agent-27707
10/20/2020, 11:29 PMicy-london-58403
10/20/2020, 11:34 PMicy-london-58403
10/20/2020, 11:39 PMctx.RegisterResourceOutputs
that the documentation emphasizes is important.
This example you sent makes sense. But what then is the point of registering resource outputs besides telling pulumi that your component is completed?
The call toalso 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.registerOutputs
lemon-agent-27707
10/20/2020, 11:52 PMicy-london-58403
10/20/2020, 11:53 PMlemon-agent-27707
10/20/2020, 11:53 PMicy-london-58403
10/20/2020, 11:55 PMicy-london-58403
10/21/2020, 7:28 PM