terravision  by patrickchugh

AI-powered CLI tool for generating cloud architecture diagrams from Terraform code

Created 3 years ago
1,062 stars

Top 35.6% on SourcePulse

GitHubView on GitHub
Project Summary

Terravision is an AI-powered CLI tool that automatically generates professional cloud architecture diagrams from Terraform code, addressing the challenge of maintaining accurate documentation in dynamic cloud environments. It offers a "Docs as Code" solution, benefiting architects and engineers by automating diagram creation, ensuring consistency, and integrating into CI/CD pipelines, all while operating securely client-side.

How It Works

Terravision securely parses Terraform code locally, without cloud access, to dynamically generate visual architecture diagrams. It processes resources, variables, and conditional logic. An optional AI backend (AWS Bedrock or local Ollama) refines diagrams by improving resource grouping, connections, and adherence to best practices, offering a significant advantage over manual methods.

Quick Start & Requirements

Highlighted Details

  • AI-powered diagram refinement (AWS Bedrock, Ollama).
  • "Docs as Code" integration into CI/CD pipelines.
  • 100% client-side execution, no cloud credentials needed.
  • Supports custom annotations via YAML files.
  • Analyzes local directories, Git repos, or pre-generated JSON.
  • Outputs diagrams in PNG, SVG, PDF, BMP formats.

Maintenance & Community

Maintained by patrickchugh. No specific community channels or contributor details are provided in the README.

Licensing & Compatibility

Described as "free and open source" but carries an "Alpha Software Notice" stating it's provided "AS IS, WITHOUT WARRANTIES." Specific license details are absent, requiring clarification for commercial use. AWS support is full; GCP/Azure support is pending.

Limitations & Caveats

The software is in alpha, provided "AS IS" with no warranties, and should be used at the user's risk. Google Cloud Platform and Microsoft Azure support are "Coming soon," limiting immediate multi-cloud utility. AI backend configuration requires additional setup.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
30
Star History
17 stars in the last 30 days

Explore Similar Projects

Starred by Mckay Wrigley Mckay Wrigley(Founder of Takeoff AI), Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), and
23 more.

E2B by e2b-dev

0.9%
10k
Open-source cloud runtime for AI apps and agents
Created 2 years ago
Updated 2 days ago
Feedback? Help us improve.