Installing Terraform on CentOS 7 and Windows 10

Posted: January 4, 2018 in Amazon Web Services (AWS), AWS, Linux, terraform

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.


Download Terraform:

For current version check this page.

curl -O
Check where to unzip package:

Find out executable path
[root@localhost ja]# echo $PATH
unzip -d /usr/bin/

Verify Installation
[root@localhost ja]# terraform -v
Terraform v0.12.20

Terraform needs configuration file with tf extension in the directory we run them from. They don’t take files from subdirectories.
mkdir terraform-templates && cd terraform-templates
Create empty configuration file and apply it
terraform apply


Windows 10:

Download package, extract terraform.exe to folder of you choice (i already had folder named kubernetes so i copied terraform.exe there)


In system variables click on Path-New-type C:\kubernets


Open command prompt and type terraform -v



  1. […] open file (created in previous post ) and add following […]


  2. Bishopolis says:

    If you’re a fan of packages, for all the obvious benefits (verifiability, repeatability and consistency) we’ve had with them for 25 years, you may want to look at a terraform package.

    1) sudo yum install

    2) sudo yum install terraform

    3) miller time

    Hey, that’s free automatic updates, too. Fantastic! All without spray-painting files about the filesystem.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s