docs icon indicating copy to clipboard operation
docs copied to clipboard

Distinguish when an argument can be an Output

Open leezen opened this issue 5 years ago • 0 comments

Because we strip off Input[T] and Output[T] to make it easier to read the documentation, it's not always clear if something can or cannot be an Output

For example, Get/Lookup functions (data sources) always take prompt values. But it's impossible to distinguish this from resources where they can take outputs, e.g. https://github.com/pulumi/pulumi/issues/5176 Probably adding to this confusion is that <Resource>.get() can take an Input<ID> for resources.

leezen avatar Aug 14 '20 22:08 leezen