docs icon indicating copy to clipboard operation
docs copied to clipboard

Consider updating typescript code to improve output declaration

Open after-ephemera opened this issue 1 year ago • 1 comments

File: content/docs/iac/concepts/resources/dynamic-providers.md

It seems that per https://github.com/pulumi/docs/issues/11639 the declare keyword should be used to declare outputs on the provider so that they are properly exposed to consumers.

after-ephemera avatar Oct 16 '24 16:10 after-ephemera

Thanks for the report! I filed a PR for this https://github.com/pulumi/docs/pull/13146

thoward avatar Oct 17 '24 21:10 thoward

Per engineering (@justinvp), it seems like the declare keyword is not actually necessary. Closing as won't fix.

thoward avatar Feb 11 '25 08:02 thoward

@justinvp can it be documented somewhere how the outputs discovery mechanism works? The docs don't cover it and the open issues seem to be wrong

Zemnmez avatar Mar 05 '25 16:03 Zemnmez