0.2.1 • Published 4 years ago

@terraform-visual/cli v0.2.1

Weekly downloads
469
License
MIT
Repository
github
Last release
4 years ago

Terraform Visual CLI

Terraform Visual CLI is an easy-to-use command line tool to generate an interactive static HTML page visualizing provided Terraform plan.

Demo.gif

Installation

# Using Yarn
$ yarn global add @terraform-visual/cli

# Using NPM
$ npm install -g @terraform-visual/cli

Usage

Convert Terraform Plan into JSON File

$ terraform plan -out=plan.out                # Run plan and output as a file
$ terraform show -json plan.out > plan.json   # Read plan file and output it in JSON format

Create Terraform Visual Report

$ terraform-visual --plan plan.json

Browse The Report

$ open terraform-visual-report/index.html

Options

FieldRequiredDefaultRemark
outX.Relative path from current dir to generate Terraform-Visual report
planVn/aRelative path to the generated plan JSON file