awslabs

    awslabs/diagram-as-code

    #320 this week

    Diagram-as-code for AWS architecture.

    cloud
    aws
    diagram-as-code
    Go
    Apache-2.0
    1.6K stars
    107 forks
    1.6K GitHub watchers
    Updated Oct 15, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #320 of 2,794 repositories GStars tracks this week (top 11%).

    1 release in the last 90 days, the latest 54 days ago, with 13 contributors on GitHub.

    Gained 32% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Generates AWS infrastructure diagrams from human-readable YAML code or CloudFormation templates using a CLI tool.
    • Enables automated, code-driven diagram creation that integrates with Infrastructure as Code workflows without relying on image libraries.
    • Use for visualizing AWS architecture during development to ensure compliance with AWS diagram guidelines.
    • Use for automating diagram updates in CI/CD pipelines to keep architecture documentation synchronized with code changes.
    • Use for integrating AWS diagram generation into custom Golang tools or AI assistants via the MCP server for programmatic diagram creation.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This command line interface (CLI) tool enables drawing infrastructure diagrams for Amazon Web Services through YAML code. It facilitates diagram-as-code without relying on image libraries.

    The CLI tool promotes code reuse, testing, integration, and automating the diagramming process. It allows managing diagrams with Git by writing human-readable YAML.

    Example templates are here. Check out the Introduction Guide as well for additional information.

    Excerpt from the awslabs/diagram-as-code README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    107+8

    Open issues

    40+3

    Compared with peers in Cloud

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    awslabs/diagram-as-code compared with Cloud repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    hashicorp/terraform50.1K+18675today
    microsoft/generative-ai-for-beginners121.8K+075—
    goharbor/harbor29.6K+0757 days ago
    GoogleCloudPlatform/generative-ai17.8K+075—
    crossplane/crossplane12.2K+07528 days ago
    awslabs/diagram-as-code1.6K+07554 days ago
    Category median29.6K+075—

    Also by awslabs

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description