https://pulumi.com logo
#python
Title
a

astonishing-quill-88807

06/19/2020, 3:19 PM
For the
register_outputs
function in a component, does anyone have a detailed example of passing specific outputs? Most of the Python examples in the Pulumi examples repo call it with an empty dict literal. Will that actually set any outputs to be registered? From the docs it seems that I should be doing something like https://github.com/mitodl/ol-infrastructure/blob/rds_component/src/ol_infrastructure/components/aws/olvpc.py#L202-L207
s

sparse-state-34229

06/22/2020, 6:18 PM
are you asking if you can pass various types other than dict/str/list?
a

astonishing-quill-88807

06/22/2020, 7:16 PM
No, just asking for a working example of registering specific outputs in a component resource.
s

sparse-state-34229

06/22/2020, 7:16 PM
what do you mean by specific?
🤔 1