CLI tool to visualise CloudFormation templates as draw.io diagrams. Use it in combination with the Draw.io Integration for VS Code to instantly visualise your stacks.
npm i -g @mhlabs/cfn-diagram
Usage: cfn-dia [options] [command] Options: -v, --vers output the current version -h, --help display help for command Commands: generate|g [options] Generates a draw.io diagram from a CloudFormation template help [command] display help for command
cfn-dia generate -t template.yaml
- Select only the resource types you want to see. This lets you skip granlar things like roles and policies that might not add to the overview you want to see
- Navigate through a new differnet layouts
- Works for both JSON and YAML templates
- Filter on resource type and/or resource names
- Some icons are missing. Working on completing the coverage.