AWS CloudFormation Diagrams (2026-01-02)

AWS CloudFormation Diagrams is a simple CLI script to generate AWS architecture diagrams from AWS CloudFormation templates. It parses both YAML and JSON AWS CloudFormation templates, supports 140 AWS resource types and any custom resource types, generates DOT, GIF, JPEG, PDF, PNG, SVG, and TIFF diagrams, and provides 126 generated diagram examples. Following illustrates a generated diagram example


Related discussions:

Direct interface to Boto from CloudFormation: Fetch Secrets Manager Secret as Example.
Five worst things in AWS CloudFormation
Amazon Elasticsearch Service with CloudFormation stuck on delete_in_progress
Automate Your Static Hosting Environment With AWS CloudFormation
Tool that adds CloudFormation's missing features: uploading to S3, updating Lambda funcs, bootstrapping EC2 instances, and more
Newbie questions: Why all boto3 tutorials start with working with S3? Where can I find a list of objects I can work with?
Do I need separate staging / production accounts if I'm using Cloudformation?
How do I convince my team to use YAML over JSON for CloudFormation?
Terraform or Cloudformation vs Bash, AWS CLI, CI server, and Puppet
6 unknown CloudFormation features you should know about
Questions on CloudFormation and enterprise use
Cloudformation for my cloudformation
A Simple Workflow for Building CloudFormation Templates
Best exercises to learn Cloudformation
Is there a way to get a single output from a CloudFormation template with the AWS CLI?
AWS CloudFormation updates for Amazon API Gateway, AWS CodePipeline, Amazon S3, AWS IAM, Amazon ECS, Amazon RDS, Amazon ES, AWS Lambda and more
Use CloudFormation StackSets for Multiple Accounts in an AWS Organization
[CloudFormation] - Using export and cross referencing stacks in templates
Why or when to use AWS::CloudFormation::Init and cfn-init?
CloudFormation: Lacking permissions to SSH into EC2 instances
Can a cloudformation template roll back once complete?
CloudFormation - Are there plans to create a domain specific language? There must be a better way...
Automatically clean up stacks on cloudformation
CloudFormation Vulnerability found (and patched)
Does Route 53 come into play if DNS is hosted externally?
Four Principles for Using AWS CloudFormation
How do you go about debugging aws-based application in VSCODE?
Accelerate your CloudFormation authoring experience with looping function
Benefit of Cloudformation over CDK?
CloudFormation now supports creating templates from existing resources
How to nuke a region of an account
CloudFormation Hooks: New feature to enforce security, cost, and operational compliance before resource provisioning. Think Guard Rails for your IaC.
AWS CloudFormation Diagrams 0.3.0 is out!
Suggested reading or videos on how to properly structure your Git repository for things like CloudFormation, and other IAC implementations?
What's the advantage for Docker on top of EC2?
Cloudformation passing "CustomJSON" to a layer..
Possible to 'export' current AWS configuration into CloudFormation format?
CloudFormation vs AWS CLI vs SDKs
Parameterize Resource Names in CloudFormation
Cloudformation help desperately needed, how do you join within a join?
CloudFoundation - the CLI to build, manage, and deploy AWS CloudFormation Templates

Nice work. Some ideas for improvement after just looking at the sample:

  • The sample diagram appears to be combining run-time relations and permission relations. An example a of run-time relation is APIG resource → Lambda → Table, while permission relations include the roles and permissions. It would probably be best to split these concerns up into two separate diagrams (and possibly a third: static Cloudfront configuration). “Master” diagrams are generally bad.

  • The arrows really need labels to tell the viewer what the relations are.

This looks great! I will give it a try!

Thanks for sharing! Will give it a try

And……?

Problem

Challenge/Opportunity

Approach/capabilities

Implementation

Results/scope/impact statement

Thank for these improvement ideas.

Good stuff, there is an MCP server that can do this on top of the existing diagram as code packages out there. This takes some heavy lifting away. Thank you.

https://aws.amazon.com/blogs/machine-learning/build-aws-architecture-diagrams-using-amazon-q-cli-and-mcp/