Welcome to TerraHub

Last updated 2 months ago

Quick Links

TerraHub CLI | TerraHub API | TerraHub Console | Install CLI | Examples and More

Official TerraHub Documentation: https://docs.terrahub.io

TerraHub CLI

terraform automation and orchestration tool

TerraHub API

data and logs management, requires token to collect anything

TerraHub Console

enterprise friendly GUI to show realtime terraform executions, as well as auditing and reporting capabilities for historical terraform runs

Install CLI

Getting started with TerraHub CLI is pretty straightforward:

  1. Check if npm is installed:

    npm -v

    The output should look similar to the one below (no need to copy paste):

    v3.10.0

    NOTE: If npm is missing, check out Downloading and installing Node.js and npm

  2. Install terrahub globally using npm:

    npm install --global terrahub

    The output should look similar to the one below (no need to copy paste):

    ~/.nvm/versions/node/v6.10.0/lib
    └── terrahub@0.0.1
  3. Test if terrahub cli was installed properly:

    terrahub --help

TerraHub Token

TerraHub CLI doesn't magically collect your data and upload to TerraHub API, which is further visualized in TerraHub Console. In order to do that, please sign up for a free account at console.terrahub.io and navigate to Settings page to copy TerraHub Token. Next, setup TerraHub Token as THUB_TOKEN environmental variable or update token value in global config file - $HOME/.terrahub/.terrahub.json.

Examples

TerraHub CLI and TerraHub Console in Action

More Examples:

Official TerraHub Documentation: https://docs.terrahub.io