draw
inframap
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
draw
-
Diagrams as Code with go?
I have used https://github.com/gregoryv/draw before to do some simple diagramming for autogenerated docs. It's not a super advanced library, but depending on your use cases it might be enough.
inframap
-
Top Terraform Tools to Know in 2024
Like Blast Radius, InfraMap generates visual graphs of your infrastructure based on Terraform state or configurations, offering a visual overview of your infrastructure, which is especially helpful for large and complex environments.
-
Monthly 'Shameless Self Promotion' thread - 2023/05
We also contribute to the open-source community with projects like InfraMap, that generate your infra diagram on the fly based on your tfstate or the most famous TerraCognita, a reverse Terraform.
-
Diagram as Code
Pretty cool. The biggest thing I think is missing from many popular diagramming tools is the ability to easily diff the architecture across changes. Although that can already be done with graphviz source files.
However, these days I prefer to just have diagrams generated from the source code itself, like:
- https://github.com/cycloidio/inframap
- https://graphviz.org/Gallery/directed/bazel.html
In order to make a compelling use case out of having to maintain a parallel definition like this, I think it needs to be able to contribute to analysis like formal verification or, despite them stating that it's not a goal, being able to create the described architecture. Or even generate something like a terraform plan. Otherwise it falls victim to the same problem as any other method of creating diagrams, that of them falling out of sync with the system.
They are a long way there already by providing a way to use a programming language backed by a large ecosystem of other tools that can be used to work with e.g. terraform, like python/go.
- How to install and use inframap?
-
Interactive Architecture Diagrams
I used https://github.com/cycloidio/inframap last week, was a good experience for me
-
Tools to Visualize your Terraform plan
Inframap reads your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
-
PowerShell module to Visualize and Document Azure Infrastructure
Also if you want to easily visualize your HCL or TFState we did https://github.com/cycloidio/inframap which will allow you to visualize those in a more easy/readable way than just JSON.
What are some alternatives?
go-diagrams - Create beautiful system diagrams with Go
terraform - 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.
diagrams - :art: Diagram as Code for prototyping cloud system architectures
terraformer - CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
d2 - D2 is a modern diagram scripting language that turns text to diagrams.
terracognita - Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
rover - Interactive Terraform visualization. State and configuration explorer.
excalidraw-converter - A command line tool for porting Excalidraw diagrams to Gliffy and draw.io.
diagram - CLI app to convert ASCII arts into hand drawn diagrams.
GoPlantUML - PlantUML Class Diagram Generator for golang projects
terravalet - A tool to help with some Terraform operations