Skip to main content

A simple CLI script to generate AWS infrastructure diagrams from AWS CloudFormation templates

Project description

AWS CloudFormation Diagrams

license python version contributors

A simple CLI script to generate AWS infrastructure diagrams from AWS CloudFormation templates.

Features

Have ideas? Open an issue or start a discussion.

Prerequisites

Following software must be installed:

Installation

Following command installs required Python dependencies, i.e., PyYAML and Diagrams.

# using pip (pip3)
pip install PyYAML diagrams

Usage

usage: aws-cfn-diagrams [-h] [-o OUTPUT] [-f FORMAT] [--embed-all-icons] filename

Generate AWS infrastructure diagrams from AWS CloudFormation templates

positional arguments:
  filename             the AWS CloudFormation template to process

options:
  -h, --help           show this help message and exit
  -o, --output OUTPUT  output diagram filename
  -f, --format FORMAT  output format, allowed formats are dot, dot_json, gif, jp2, jpe, jpeg, jpg, pdf, png, svg, tif, tiff, set to png by default
  --embed-all-icons    embed all icons into svg or dot_json output diagrams

Examples

The folder diagrams contains generated diagrams for most of AWS CloudFormation templates.

Following diagram is about WebApp:

WebApp

Following diagram is about Gitea with Rain::Module:

Gitea

Following diagram is about Gitea without Rain::Module:

Gitea

Following diagram is about AutoScaling:

AutoScaling

Following diagram is about EKS:

EKS

Following diagram is about VPC:

VPC

License

This project is licensed under the Apache 2.0 License.

Contributing

PRs and ideas are welcome!

Star History

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_cloudformation_diagrams-0.2.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cloudformation_diagrams-0.2.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file aws_cloudformation_diagrams-0.2.0.tar.gz.

File metadata

File hashes

Hashes for aws_cloudformation_diagrams-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6983d836f72396a6872020cb1307586071e852a9517d2c03064bc5e864178e77
MD5 bb354f9bb830fd4ba867076a83f39138
BLAKE2b-256 79288561f928285e52bd4526017262b3ec6d80d7dbfa9bf2d9f92c2cb30380c2

See more details on using hashes here.

File details

Details for the file aws_cloudformation_diagrams-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cloudformation_diagrams-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a799f61d027d5ac4a2f5aae3286f20cc59fb4b3827c92c9775d2328b24840dc1
MD5 36d9c3599df6014ab4bc1de73409fe75
BLAKE2b-256 f7b4825048039410c6e5d5292c2e60714b75d0114daa0263cae162e5342f7b34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page