<?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 Sagar Panda | DevOps &amp; Cloud Infra Engineer</title><link>https://new.sagarpanda.com/tags/terraform/</link><description>Recent content in Terraform on Sagar Panda | DevOps &amp; Cloud Infra Engineer</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 20 Jun 2026 07:45:10 +0530</lastBuildDate><atom:link href="https://new.sagarpanda.com/tags/terraform/index.xml" rel="self" type="application/rss+xml"/><item><title>Seeing Inside Amazon EKS with OpenTelemetry 🔍</title><link>https://new.sagarpanda.com/blogs/monitoring/otel-on-eks/</link><pubDate>Sat, 20 Jun 2026 07:45:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/monitoring/otel-on-eks/</guid><description>&lt;h2 id="why-this-setup"&gt;Why This Setup?&lt;a href="#why-this-setup" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Before getting into the architecture, a few quick notes. Telemetry goes to both &lt;strong&gt;New Relic&lt;/strong&gt; and &lt;strong&gt;Honeycomb&lt;/strong&gt; to test OpenTelemetry&amp;rsquo;s backend-independence promise and compare the two. New Relic wins on day-to-day usability — dashboards, APM, and alerts work intuitively. Honeycomb takes more getting used to, but its MCP server is where it genuinely shines: connected to Claude, you can ask plain-English questions against live telemetry — no NRQL or PromQL required. That&amp;rsquo;s the part worth &lt;a
 href="#ask-claude"&gt;&lt;em&gt;&lt;strong&gt;jumping to&lt;/strong&gt;&lt;/em&gt; 👇&lt;/a&gt; first if you&amp;rsquo;re short on time.&lt;/p&gt;</description></item><item><title>Terraform Modules - Simplify, Organise and Reuse Your IAC</title><link>https://new.sagarpanda.com/blogs/terraform/tf-module/</link><pubDate>Sun, 22 Dec 2024 19:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/tf-module/</guid><description>&lt;p&gt;A &lt;strong&gt;Terraform module&lt;/strong&gt; is a container/template for multiple resources that are used together. Modules are a way to organize and reuse code in Terraform, making infrastructure management more efficient and maintainable.&lt;/p&gt;
&lt;p&gt;We first define the resource templates, and then we call the templates from outside of the module structures and we can even modify them as per our needs.&lt;/p&gt;
&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*I_rBd_SMpsI8tXzk5mk3Zg.png"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*I_rBd_SMpsI8tXzk5mk3Zg.png"
 alt="Image credit: Linode"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*I_rBd_SMpsI8tXzk5mk3Zg.png"
 data-gallery-alt="Image credit: Linode"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>Automate AWS VPC Setup with Terraform</title><link>https://new.sagarpanda.com/blogs/terraform/terraform-aws-vpc/</link><pubDate>Fri, 20 Sep 2024 19:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform-aws-vpc/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;a href="#introduction" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The VPC is a logical private network that allows us to control how our resources, like servers, are connected and protected.&lt;/p&gt;
&lt;p&gt;With the help of VPC, we decide the range of IP addresses for the network, how we can divide the network into smaller parts, data flow into &amp;amp; out and rules for securing our resource.&lt;/p&gt;</description></item><item><title>Dynamic Data fetching — Data Sources in Terraform/OpenTofu</title><link>https://new.sagarpanda.com/blogs/terraform/terraform5/</link><pubDate>Sun, 12 May 2024 10:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform5/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
 alt="captionless image"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
 data-gallery-alt="captionless image"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I have migrated of OpenTofu.&lt;/p&gt;
&lt;p&gt;If you wish to migrate, the process is pretty simple.&lt;/p&gt;
&lt;p&gt;Steps to migrate existing terraform infra:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a
 href="https://opentofu.org/docs/intro/install/"target="_blank"
 class="inline-flex items-center gap-1"
 &gt;Install opentofu&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;
 &lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Initialize opentofu just as you do with terraform.&lt;/p&gt;</description></item><item><title>Terraform on AWS — Outputs, Indexing and Variables</title><link>https://new.sagarpanda.com/blogs/terraform/terraform2/</link><pubDate>Sun, 09 Jul 2023 10:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform2/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
 alt="captionless image"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
 data-gallery-alt="captionless image"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a
 href="https://new.sagarpanda.com/blogs/terraform/terraform-setup/"&gt;&lt;strong&gt;&lt;em&gt;In the previous article&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;, we setup tf and got familiar with it with basic example. Now lets proceed further.&lt;/p&gt;
&lt;p&gt;All configs can be found on &lt;a
 href="https://github.com/sagarkrp/Terraform_Automation"target="_blank"
 class="inline-flex items-center gap-1"
 &gt;GitHub&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;
 &lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="displaying-output-in-tf"&gt;Displaying Output in TF:&lt;a href="#displaying-output-in-tf" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;For every action we create we can generate output also to be shown on the terminal.&lt;/p&gt;</description></item><item><title>Infrastructure as Code (IAC) - Automation using Terraform 101</title><link>https://new.sagarpanda.com/blogs/terraform/terraform-setup/</link><pubDate>Sun, 02 Jul 2023 10:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform-setup/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*fCBP8ShpFHETAU7JEenXLQ.png"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*fCBP8ShpFHETAU7JEenXLQ.png"
 alt="captionless image"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*fCBP8ShpFHETAU7JEenXLQ.png"
 data-gallery-alt="captionless image"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="what-is-terraform"&gt;What is Terraform:&lt;a href="#what-is-terraform" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Terraform is an open-source infrastructure as code (IAC) tool that helps us to safely and predictably provision and manage infrastructure in any cloud and on-prem resources in human-readable configuration files that you can version, reuse, and share.&lt;/p&gt;</description></item></channel></rss>