https://pulumi.com logo
b

best-xylophone-83824

08/09/2019, 1:47 PM
Learning about ComponentResource, I checked https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts as an example. Class have multiple public properties, but only one of them is
pulumi.Output<>
and it is the only passed to
this.registerOutputs()
, why is that?
h

high-translator-22614

08/09/2019, 8:57 PM
Docs need to be updated, but apparently
.registerOutputs()
doesn't need to be passed anything anymore? (Unless that's just python) It's not really documented anywhere how to create your own `Output`s, and I've complained about the inconsistency of both inputs and outputs.
b

best-xylophone-83824

08/12/2019, 9:45 AM
It's not really documented anywhere how to create your own `Output`s
Isn't it just
pulumi.output(value)
?