Skip to content

Improve Terraform's plan output to be easier to read and understand

License

Notifications You must be signed in to change notification settings

coinbase/terraform-landscape

Repository files navigation

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

  • Ruby 2.5+
  • Terraform 0.11.x (see #101 for details)

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.