Understanding Variable Types & Validation in TerraformTerraform variables are not just inputs — they are contracts that define what kind of data your infrastructure accepts. Proper typing and validation help prevent misconfiguration, enforce standards, and make your IaC production-ready. 1. Basic Types ...2 min read·sidharthhhh.hashnode.devJan 20
Organizing Terraform Files the Right WayOne of the biggest mistakes beginners make in Terraform is putting everything into main.tf. It works for demos—but quickly becomes messy and unmaintainable in real projects. Today, I focused on modern Terraform file organization while building a comp...1 min read·sidharthhhh.hashnode.devJan 7
Day 5 — Terraform Variables1. Variables Based on Purpose (Most Important) 1️⃣ Input Variables Used to pass values into Terraform. Avoid hardcoding Make configs reusable Can be mandatory or optional (via default) Common sources: terraform.tfvars *.auto.tfvars -var / -va...1 min read·sidharthhhh.hashnode.devJan 5
Day 4 — Terraform State File Management & Remote Backendtrraform state file2 min read·sidharthhhh.hashnode.devJan 1
Creating an S3 Bucket with TerraformOn Day 3 of my #30DaysOfAWSTerraform journey, I learned how to create an AWS S3 bucket using Terraform—a simple but powerful step toward managing cloud infrastructure as code. Why S3 with Terraform? Amazon S3 is widely used for: Storing application ...1 min read·sidharthhhh.hashnode.devDec 30, 2025