Open fishpen0 opened 2 years ago
Hi @fishpen0, thanks for the enhancement request!
Graphviz is not good for large deployments :(
would be great to see mermaid support here 👍
In my research I came across two existing options:
terraform graph
to Mermaid using sed
: https://www.heaton.dev/2022/05/use-terraform-graph-in-mermaidjs/
Use-cases
Github now natively supports mermaid diagrams in its markdown syntax. It would be useful for
terraform graph
to be able to natively export these for use in repository documentation.Proposal
Add native support for the mermaid diagramming format in the
terraform graph
commandWorkarounds
It looks like there is one very old project that tries to make this work externally: https://github.com/hmalphettes/terramer
References
https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/