Setup

The Terraform lab exercises require the installation and configuration of a few applications. This page will help you getting started.

Web shell

Your Terraform lab trainer will provide you personal credentials to your web shell.
All required CLI tools and an IDE are installed and ready to use.

Local installation

The exercises assume a UNIX environment. In case you are working under Windows, be advised to install the Windows Subsystem for Linux as documented here: https://docs.microsoft.com/en-us/windows/wsl/install-win10

CLI Tools

Please install the following applications:

Make sure terraform is installed correctly and found in your PATH by running:

terraform version

Optional: To install bash autocompletion, run the following command and restart your shell:

echo "complete -C `which terraform` terraform" >> ~/.bashrc

IDE

Install a text editor of your choice. PyCharm Community Edition IDE with the HCL plugin is recommended for its powerful features like resource and attribute auto-complete, refactoring etc.

PyCharm

To install PyCharm, follow the instructions:

Visual Studio Code

Visual Studio Code offers Terraform support via extension, follow the instructions: