Check this out!
There is a new tool called CodeViz and I complained on hackernews it is 20 bucks a month and not so useful in the free version so the creator uploaded AI generated mermaid/architecture diagrams of Pulumi so I could see:
https://github.com/EdisonLabs-Inc/Pulumi-Diagrams/tree/main