<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Techworld_naval]]></title><description><![CDATA[Techworld_naval]]></description><link>https://techworld-naval.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 12:42:33 GMT</lastBuildDate><atom:link href="https://techworld-naval.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Introduction to Terraform: Learn How to Install and Set Up]]></title><description><![CDATA[What is Terraform?
Infrastructure as Code tool that helps automate the provisioning and management of infrastructure across multiple cloud providers..
Why Use Terraform?
Terraform is a product by HashiCorp and is vendor-neutral.It is mainly used to p...]]></description><link>https://techworld-naval.hashnode.dev/introduction-to-terraform-learn-how-to-install-and-set-up</link><guid isPermaLink="true">https://techworld-naval.hashnode.dev/introduction-to-terraform-learn-how-to-install-and-set-up</guid><category><![CDATA[#30DaysOfAWSTerraform]]></category><category><![CDATA[@PiyushSachdeva]]></category><category><![CDATA[@CloudOps Community]]></category><dc:creator><![CDATA[naval k]]></dc:creator><pubDate>Fri, 28 Nov 2025 00:25:54 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/hGV2TfOh0ns/upload/2be1b9a6bd95b2354e492d13e8bcd659.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-what-is-terraform"><strong>What is Terraform?</strong></h3>
<p>Infrastructure as Code tool that helps automate the provisioning and management of infrastructure across multiple cloud providers..</p>
<h3 id="heading-why-use-terraform">Why Use Terraform?</h3>
<p>Terraform is a product by HashiCorp and is vendor-neutral.<br />It is mainly used to provision resources in the cloud, such as AWS, GCP, Azure, and more.</p>
<p>In the real world, setting up a 3-tier application can take hours to install, provision, and troubleshoot for an environment, like a development environment. The same process applies to other environments like SIT, UAT, performance, production, and DR.</p>
<p>There is a high chance of configuration drift, human errors, or inconsistent builds. It's also a time-consuming process if we need to build for hundreds of applications.</p>
<p>To save time, prevent configuration drift, and reduce human errors, we use Terraform to automate the provisioning, modification, and better management of AWS resources.</p>
<h3 id="heading-how-does-it-work">How Does It Work?</h3>
<p>Terraform works by using providers like AWS, Azure, and GCP, and their respective APIs to communicate with their services to provision, modify, or destroy resources.</p>
<p>We write Terraform code in .tf files and run Terraform commands to initialize, plan, and apply.</p>
<p>Terraform calls AWS APIs and executes or provisions based on the code written.</p>
<p><img src="https://www.devopsschool.com/blog/wp-content/uploads/2022/02/terraform-1.png" alt /></p>
<h3 id="heading-architecture-of-terraform">Architecture of Terraform:</h3>
<p><img src="https://spacelift.io/_next/image?url=https:%2F%2Fspaceliftio.wpcomstaging.com%2Fwp-content%2Fuploads%2F2023%2F03%2Fterraform-architecture-diagram.png&amp;w=750&amp;q=75" alt /></p>
<h3 id="heading-terraform-workflow">Terraform Workflow:</h3>
<p><strong>Commands:</strong></p>
<p><code>terraform init</code> :Initialize the working directory</p>
<p><code>terraform validate</code> :Validates the configuration files</p>
<p><code>terraform plan</code> : Creates an execution plan or dry run</p>
<p><code>terraform apply</code>:Apply the changes to desired state</p>
<p><code>terraform destroy</code>:Destroy the infrastructure</p>
<p><img src="https://tse3.mm.bing.net/th/id/OIP.m0CHWq8KcsVav5qVJ4skywHaDA?pid=Api&amp;P=0&amp;h=180" alt /></p>
<p><img src="https://nfrappart.github.io/pictures/blog-terraformworkflow.drawio.png" alt /></p>
<h2 id="heading-installation">Installation:</h2>
<p>Steps to install Terraform:</p>
<h3 id="heading-windows">Windows:</h3>
<ol>
<li><p>Ensure you have Chocolatey installed on your Windows machine.</p>
</li>
<li><p>Open PowerShell and run <code>choco install terraform</code>.</p>
<p> <a target="_blank" href="https://spacelift.io/blog/how-to-install-terraform#how-to-install-terraform-on-windows-using-chocolatey">https://spacelift.io/blog/how-to-install-terraform#how-to-install-terraform-on-windows-using-chocolatey</a></p>
</li>
<li><p>Verify the installation by running <code>terraform -version</code>.</p>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1764288501654/2d5fdf15-6de8-4f1e-a617-abd353740cc6.png" alt class="image--center mx-auto" /></p>
]]></content:encoded></item></channel></rss>