coinbase / terraform-landscape

Improve Terraform's plan output to be easier to read and understand
Apache License 2.0
1.59k stars 116 forks source link
bash ruby terraform

Terraform Landscape

Gem Version CircleCI

Terraform Landscape is a tool for reformatting the output of terraform plan to be easier to read and understand.

Before

Original Terraform plan output

After

Improved Terraform plan output

Requirements

Installation

The landscape executable is installed via RubyGems.

gem install terraform_landscape

macOS

Terraform Landscape is also available via Homebrew.

brew install terraform_landscape

Usage

Pipe the output of terraform plan into landscape to reformat the output.

terraform plan ... | landscape

Docker

Build the docker image using provided Dockerfile and use it directly:

docker build . -t landscape
terraform plan ... | docker run -i --rm landscape

License

This project is released under the Apache 2.0 license.