<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>terraform on AutomateHub</title><link>https://blog.automatehub.com/tags/terraform/</link><description>Recent content in terraform on AutomateHub</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>Copyright © 2021 AutomateHub. All rights reserved.</copyright><lastBuildDate>Wed, 19 May 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.automatehub.com/tags/terraform/index.xml" rel="self" type="application/rss+xml"/><item><title>Install Terrraform</title><link>https://blog.automatehub.com/post/install-terraform/</link><pubDate>Wed, 19 May 2021 00:00:00 +0000</pubDate><guid>https://blog.automatehub.com/post/install-terraform/</guid><description>
&lt;p>Refer this article to understand the terms - Infrastructure As Code(IaC), Orchestration, Provisioning &amp;amp; Configuration Management&lt;/p>
&lt;p>&lt;strong>What is Terraform?&lt;/strong>&lt;/p>
&lt;p>Terraform is an open-source infrastructure as code, software tool created by HashiCorp. It enables users to define and provision data center infrastructure using a declarative configuration language known as HashiCorp Configuration Language (HCL), or optionally JSON.&lt;/p>
&lt;p>Terraform is a tool that allows programmers to build, change, and version infrastructure safely and efficiently.&lt;/p>
&lt;p>Terraform’s main job is to create, modify, and destroy servers and other resources.&lt;/p>
&lt;p>Terraform does not configure servers software. Configuring software can be performed with scripts, configuration management tools or container deployments.&lt;/p>
&lt;p>&lt;strong>The basic workflow when using Terraform is:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Write the configuration files on your computer in which you declare the elements of your infrastructure that you want to create.&lt;/li>
&lt;li>Tell Terraform to analyze your configurations and then create the corresponding infrastructure.&lt;/li>
&lt;/ul>
&lt;p>In this article we will learn how to install Devops Infrastructure as code tool Terraform on CentOS 7&lt;/p>
&lt;p>&lt;strong>Pre-requisites&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>VM/Server with CentOS 7 installed&lt;/li>
&lt;li>Internet connection to download Terraform installer package&lt;/li>
&lt;li>Depending on your Operating System, you can choose the terrafrom installer from download page of terraform.io&lt;/li>
&lt;/ul>
&lt;p>Access the link -&amp;gt; &lt;a href="https://www.terraform.io/downloads.html">https://www.terraform.io/downloads.html&lt;/a> and download the installer.&lt;/p>
&lt;p>In our case and in this article we will use Linux installer.&lt;/p>
&lt;p>Use wget, download the Terraform -&lt;/p>
&lt;blockquote>
&lt;p>[root@devops ~]# hostname
devops.example.com&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>[root@devops ~]# wget &lt;a href="https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip">https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;p>Unzip and copy it in /usr/local/bin&lt;/p>
&lt;blockquote>
&lt;p>[root@devops ~]# unzip terraform_0.12.24_linux_amd64.zip&lt;/p>
&lt;/blockquote>
&lt;p>Archive: terraform_0.12.24_linux_amd64.zip&lt;/p>
&lt;p>inflating: terraform&lt;/p>
&lt;blockquote>
&lt;p>[root@devops ~]# cp terraform /usr/local/bin/&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>[root@devops ~]# which terraform&lt;/p>
&lt;/blockquote>
&lt;p>/usr/local/bin/terraform&lt;/p>
&lt;blockquote>
&lt;p>[root@devops ~]# terraform -v&lt;/p>
&lt;/blockquote>
&lt;p>Terraform v0.12.24&lt;/p>
&lt;p>&lt;strong>Conclusion:&lt;/strong>&lt;/p>
&lt;p>In this article we learned how to install Terraform on Linux Operating System - CentOS 7&lt;/p></description></item></channel></rss>