Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
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 command
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/