Before you start writing the Terraform configuration file, it is necessary to install and configure a local development environment. This development environment will allow Terraform's configuration file to be written and validated as it is developed.
In the recipes in this chapter, we will learn how to download and install Terraform manually on a Windows machine, as well as how to install it using a script on Windows and Linux. We will also learn how to use Terraform in a Docker container before learning how to migrate the Terraform configuration written in version 0.11 to version 0.13.
In this chapter, we'll cover the following recipes:
- Downloading and installing Terraform manually
- Installing Terraform using a script on Linux
- Installing Terraform using a script on Windows
- Executing Terraform in a Docker container
- Writing Terraform...