How to install Terraform on Fedora

Quick introduction to Terraform

Terraform is a tool for cloud orchestration, which means you can create desired resources in AWS, GCP, Azure and lot more. Terraform provides it's own syntax to write configuration files. You can treat it informally as a tool to create infrastructure and configuration with documentation on how to do it ;).

Installation

Unfortunately, for some reason, Terraform is not available in the official Fedora repositories. So you can do it either with downloading zip package from Terraform, which is the most spotted solution on the Internet. The best option is to use the offered repository from Hashicorp (the creators of Terraform).

For shortcut solution (it is also available on the Terraform website):

1
2
3
sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
sudo dnf -y install terraform
comments powered by Disqus