These configuration files are part of my project in this repository
To install Terraform, follow these steps:
-
Ensure the gnupg, software-properties-common, and curl packages are available:
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
-
Add the HashiCorp GPG key:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
-
Add the official HashiCorp Linux repository:
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
-
Update to add the repository, and install the Terraform CLI:
sudo apt-get update && sudo apt-get install terraform
-
Verify the installation:
terraform -help
See the Terraform docs to install for other distributions.