Preparing Terraform
About
This guide will walk you through setting up Terraform for provisioning your services
Getting Started
We will start by setting up Terraform on your system
Installing Terraform
Ensure that your system is up to date and you have installed the gnupg, software-properties-common, and curl packages installed. You will use these packages to verify HashiCorp’s GPG signature and install HashiCorp’s Debian package repository.
From your terminal run:
Install the HashiCorp GPG key.
Verify the key’s fingerprint.
Add the official HashiCorp repository to your system. The lsb_release -cs command finds the distribution release codename for your current system, such as buster, groovy, or sid.
Download the package information from HashiCorp.
Install Terraform from the new repository.