polite-ocean-13631
11/02/2022, 10:13 PMregister_output
as explained here: https://www.pulumi.com/docs/intro/concepts/resources/components/#registering-component-outputs
How can we hide outputs? I want to make it so that my custom components only expose a small subset of their outputs to ensure we don't accidentally develop a dependency on something unstable.little-cartoon-10569
11/02/2022, 11:45 PMpublic
?polite-ocean-13631
11/03/2022, 12:02 AMThere is no relationship between registered outputs, and code that developers can use.What do you mean? Our stacks can't access a value from a previously deployed stack unless it was exported, and when you export a component it exposes every registered output.
register_output
no matter what at the end of __init__
. When would it matter whether we do or not?little-cartoon-10569
11/03/2022, 12:20 AMpolite-ocean-13631
11/03/2022, 12:22 AMOutput
wrapped objects. Should they all be passed into register_output
? Does it really matter?