Giter VIP home page Giter VIP logo

inkdrop-visualizer-2's Introduction

Inkdrop

Terraform Visualizer

Inkdrop is a CLI tool that creates interactive diagrams to visualize your Terraform.
It helps you onboard engineers, generate documentation and understand dependencies faster.

Latest Release Commit Activity Stars

demo

๐Ÿš€ CI Integration | ๐Ÿ’ป Interactive Demo | ๐Ÿ™Œ Give Feedback

Overview

Inkdrop generates a visual, interactive map of your resources helps you understand relationships and dependencies.

Inkdrop takes your Terraform Plan and renders it locally as an interactive WebUI, allowing you to get a clean overview in seconds.

Benefits:

  • Review proposed changes at a glance.
  • Document your infrastructure automatically.
  • Onboard engineers to a new project 10 times faster.

Quick Install

With Brew:

brew tap inkdrop-org/inkdrop-visualizer
brew install inkdrop-visualizer

With Linux:

wget https://github.com/inkdrop-org/inkdrop-visualizer/releases/latest/download/inkdrop-linux-x64.tar.gz
tar -xzf inkdrop-linux-x64.tar.gz
chmod +x inkdrop
mv inkdrop /usr/local/bin/

With NPM:

npm install -g inkdrop-visualizer

CLI Usage

Run inkdrop where you would run Terraform init/plan.

terraform plan -out plan.out
inkdrop plan.out

This will launch an interactive WebUI showing you which resources will change according to your tf.plan.

When you click on a resource you will get additional details such as variables and outputs used.

At the top left of the UI you can filter the diagram by resource type, tags and other built-in debugging filters .

Command Line Arguments

Argument Description Example Usage
(no argument) Automatically launches a browser tab to display the diagram interactively. inkdrop
plan-filename Visualizes the impact of changes defined in a specified terraform plan file. inkdrop plan.out
--state-dirs List of directories that contain Terraform configuration files with configured backends. This option allows visualizing multiple states in a single diagram. inkdrop plan.out --state-dirs ./path/to/tf/dir1 ./path/to/tf/dir2
--help, -h Displays help information about the CLI tool and its commands. inkdrop --help
--version, -v Shows the current version number of the CLI tool. inkdrop --version
--debug Shows the logs of the diagram generation. inkdrop --debug
--path Sets the working directory to a specified Terraform project path. inkdrop --path ./repos/my-tf-project
--renderer-port Defines the port for the local diagram rendering service (default: 3000). inkdrop --renderer-port 8080

Static Badge

CI Usage

To run inkdrop from your CI process you will need to follow the following short tutorials:

Github example

Atlantis example

The runner will comment an SVG Image in the PR. Using the Inkdrop extension this image becomes interactive and behaves like the CLI version when you click on it.

Troubleshooting

If you encounter any issues while using inkdrop, please use the --debug flag and report the issue. We're looking forward to help.

Telemetry

As this is a local CLI tool we have no information about your setup. The only telemetry we collect is a simple ping to our server, to estimate usage of the tool. To turn it off simply use the flag --telemetry-off

Development

We welcome contributions and feedback! Feel free to open GitHub issues for bugs or feature requests.

We are currently deciding which feature to build next according to user feedback.

Feel free to reach out:

[email protected]

https://calendly.com/antoine-inkdrop/25-min

https://calendly.com/alberto-inkdrop/30min

inkdrop-visualizer-2's People

Contributors

albschi avatar dant2021 avatar robbert229 avatar blackillzone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.