Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeshan/sceptre-dot

Visualise your sceptre projects with Graphviz
https://github.com/jeshan/sceptre-dot

graphviz graphviz-dot sceptre

Last synced: about 2 months ago
JSON representation

Visualise your sceptre projects with Graphviz

Awesome Lists containing this project

README

        

[![PyPI version](https://badge.fury.io/py/sceptre-dot.svg)](https://badge.fury.io/py/sceptre-dot)
![Build badge](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiNituTVJqN2UxSGJ6N2Y3UTdOODhuNCtEcE1Zc0Jjbm5QYlhHWEtPekZYS2VnTFdJU2ZoZUhSdkRNL2V2SWhHbCtwb01SNzVtV1ZUSTJtV0xta2NSNGRVPSIsIml2UGFyYW1ldGVyU3BlYyI6IjNZdlQzSXpqUE9uVDJYbWwiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)

Helps you visualise your Sceptre projects with Graphviz (DOT). Get started by running `pip install sceptre-dot`

![screenshot.png](screenshot.png)

# Benefits
- Visualisation can be added as a documentation artefact to your project
- Having many explicit/implicit dependencies can slow down deployments. Use the generated dependency graph to quickly spot bottlenecks due to these dependencies.

# Installation

Install graphviz for your operating system as per [official instuctions](https://graphviz.gitlab.io/download/).

Install this package in the same python interpreter (virtualenv) that Sceptre is installed so that its python library is already available:
`pip install sceptre-dot`

# Usage
In the same directory where you would normally invoke `sceptre launch -y $YOUR_PATH`, run:

```bash
sceptre-dot $YOUR_PATH > output.dot
fdp -Tpng output.dot -o output.png # use fdp engine for best results
```
If you can't or don't want to install graphviz, you can paste the outputted dot file in an online viewer like [viz-js](http://viz-js.com/). (Be sure to choose the **fdp** engine)

Released under the Simplified BSD Licence.