https://pulumi.com logo
d

damp-honey-93158

07/28/2023, 9:29 AM
Gooooood morning! (it's morning SOMEWHERE). I was wondering, if there is a way to have pulumi dump the outputs of a stack along with a description of what each output is for. This would make building my documentation website "a lot easier (tm)". Anyone played with this?
s

strong-night-24143

07/28/2023, 10:42 AM
Outputs don't track any metadata other than the name and value. So you wouldn't be able to do this with just Pulumi. The actual outputs can be retrieved with
pulumi stack output
but I don't think that will help you.
d

damp-honey-93158

07/28/2023, 11:21 AM
Ta for the info / answer in any case ๐Ÿ™‚ I think I will play with the C# code and get it to write some stuff to somewhere that the docusaurus site can simply include it... yay for REAL CODE
e

echoing-dinner-19531

07/28/2023, 1:41 PM
Be happy to take an issue to discuss how they could have descriptions set on them as well. Sounds useful.
d

damp-honey-93158

07/28/2023, 1:55 PM
Where should I throw that issue Fraser?
e

echoing-dinner-19531

07/28/2023, 1:55 PM
We'll need to consider it for all languages, but that's a good common repo for it
d

damp-honey-93158

07/28/2023, 1:55 PM
Doing something with that link now ๐Ÿ™‚
s

salmon-account-74572

07/28/2023, 2:29 PM
What about a Stack README? https://github.com/pulumi/examples/blob/master/stack-readme-cs/README.md has an example in C#.
d

damp-honey-93158

07/28/2023, 3:13 PM
Nice idea scott, we use that already, but we've got far more in-depth documentation, authentication and search capability built into a Docusaurus site. The functionality would help us automate updates into that documentation. Not to mention Docusaurus also handles API versioning nicely as well.
I'd appreciate any grammar, adjustments, critique on the issue if you have time. I will make the changes happily.
s

salmon-account-74572

07/28/2023, 3:17 PM
Ah, thanks for clarifying John! It would be cool to see a write-up of how you integrate Pulumi with Docusaurus. Let me know if youโ€™re interested in collaborating on something.
d

damp-honey-93158

07/28/2023, 3:24 PM
I'm interested! How shall I reach you when I get there?
s

salmon-account-74572

07/28/2023, 3:28 PM
Feel free to DM me anytime. ๐Ÿ™‚