Subscribe

UiPath Orchestrator

Installing Terraform

This page provides instructions for the installation of Terraform v0.12.3. You may download the most recent, or another, version of Terraform but you must then also upgrade the scripts according to the Terraform Upgrade Guide.

Windows

  1. Download the Terraform installation archive for your Windows version (e.g. terraform_0.12.3_windows_amd64.zip or terraform_0.12.3_windows_386.zip).
  2. Upzip the package to your desired directory, for example C:\terraform.

📘

Note:

Terraform runs as a single binary named terraform.exe. All other files in the package can be safely deleted.

  1. Set the Terraform binary to be available from the Path system variable as follows:
    a. Open Windows Control Panel and select System and Security.
    b. Click System and select Advanced system settings from the left menu. The System Properties window is displayed.
    c. From the Advanced tab, click Environment Variables. The Environment Variables window is displayed.
    d. From the System variables pane, select the Path variable and click Edit. If the Path variable does not exist, click New. The New/Edit environment variable window is displayed.
    e. Add the Terraform directory to the new or existing variable. In our example, C:\terraform\.
    f. Click OK on all Control Panel windows to close them.

📘

Note:

These instructions are applicable to Windows 10 and Windows 8. If using Windows 7, the Advanced system settings are reached by right-clicking the Computer icon and selecting Properties.

  1. Open an elevated command prompt and run Terraform.

Linux

  1. Download the Terraform installation archive for your machine (e.g. terraform_0.12.3_linux_amd64.zip , terraform_0.12.3_linux_arm.zip, or terraform_0.12.3_linux_386.zip).
    For example: $ wget https://releases.hashicorp.com/terraform/0.12.3/terraform_0.12.3_linux_amd64.zip.
  2. Install unzip, if not already present. For example:
    a. if using Debian/Ubuntu: $ sudo apt-get install unzip.
    b. if using CentOS/Redhat: $ sudo yum install unzip.
  3. Unzip the installation package. For example: $ unzip terraform_0.12.3_linux_amd64.zip.

📘

Note:

Terraform runs as a single binary named terraform.exe. All other files in the package can be safely deleted.

  1. Set the Terraform path: $ sudo mv terraform /usr/local/bin/.

Verify the Installation

You can verify a successful installation by executing the terraform command to display the usage information:

1102

Updated 2 years ago