-->

DEVOPSZONES

  • Recent blogs

    How to beautify your terraform output

     To beautify your terraform plan output, we need to use a tool called "terraform landscape" . Terraform Landscape is a tool for reformatting the output of terraform plan to be easier to read and understand.


    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
    Landscape_installation
    Landscape_installation

    Usage

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

    terraform plan ... | landscape


    Before

    Before-landscape
    Before-landscape


    After

    after-landscape
    after-landscape


    No comments