Terraform Visualizer: Automatic Architecture Diagrams from Your Terraform Code
Every Terraform repo I've worked with has the same problem. Someone drew an architecture diagram when the project started. That was six months ago. The infrastructure has changed dozens of times si...

Source: DEV Community
Every Terraform repo I've worked with has the same problem. Someone drew an architecture diagram when the project started. That was six months ago. The infrastructure has changed dozens of times since then. The diagram hasn't. I got tired of this, so I built Terravision, an open-source CLI that generates architecture diagrams directly from Terraform code. It uses official AWS, GCP, and Azure service icons and styles, so the output is solutions architect grade, not a dependency graph. One command Point it at any Terraform repo, local or remote: pipx install terravision terravision draw --source ./my-terraform-code --show It parses your .tf files, resolves variables and modules, works out resource relationships, and generates a diagram. No cloud credentials needed. No infrastructure has to exist. It works entirely from source. Auto-updating diagrams with GitHub Actions Generating a diagram once is useful. Keeping it up to date is the real problem. I just shipped a GitHub Actions integrat