<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nuntin Padmadin</title>
    <description>The latest articles on DEV Community by Nuntin Padmadin (@nuntin).</description>
    <link>https://dev.to/nuntin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2699873%2Fb5610532-0316-40df-8065-4aebd087b998.jpg</url>
      <title>DEV Community: Nuntin Padmadin</title>
      <link>https://dev.to/nuntin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nuntin"/>
    <language>en</language>
    <item>
      <title>Terraform.tfvars wasn’t made to be secure it was made to make Dev/Test life easier</title>
      <dc:creator>Nuntin Padmadin</dc:creator>
      <pubDate>Wed, 13 Aug 2025 09:48:14 +0000</pubDate>
      <link>https://dev.to/nuntin/terraformtfvars-wasnt-made-to-be-secure-it-was-made-to-make-devtest-life-easier-3poa</link>
      <guid>https://dev.to/nuntin/terraformtfvars-wasnt-made-to-be-secure-it-was-made-to-make-devtest-life-easier-3poa</guid>
      <description>&lt;p&gt;&lt;strong&gt;Many developers (myself included) assume terraform.tfvars is a secure place to store secrets.&lt;/strong&gt;&lt;br&gt;
Some even think: "Just add it to .gitignore and you’re safe."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But here’s the truth:&lt;/strong&gt;&lt;br&gt;
.tfvars is just a plain input file no encryption, no protection, no magic.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxieuwownigajghzas2b.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxieuwownigajghzas2b.jpg" alt=" " width="800" height="999"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;.tfvars is not secure&lt;br&gt;
Myth                                        Reality&lt;br&gt;
It's a secret file                  ❌ It's plaintext&lt;br&gt;
It's safe if added to .gitignore    ❌ It still exists on disk&lt;br&gt;
It's okay for passwords                 ❌ Only if leaking is okay&lt;/p&gt;

&lt;p&gt;What is it actually for?&lt;br&gt;
Convenience.&lt;br&gt;
It helps pass variables without writing long -var flags every time.&lt;br&gt;
Great for dev/test, but never meant for storing secrets.&lt;/p&gt;

&lt;p&gt;Bottom line:&lt;br&gt;
.tfvars is useful just don’t treat it like a vault.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How I Built a Real DevOps Automation Lab (Terraform, Ansible, K8s, CI/CD)</title>
      <dc:creator>Nuntin Padmadin</dc:creator>
      <pubDate>Tue, 03 Jun 2025 17:19:18 +0000</pubDate>
      <link>https://dev.to/nuntin/how-i-built-a-real-devops-automation-lab-for-my-portfolio-terraform-ansible-k8s-cicd-589d</link>
      <guid>https://dev.to/nuntin/how-i-built-a-real-devops-automation-lab-for-my-portfolio-terraform-ansible-k8s-cicd-589d</guid>
      <description>&lt;p&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Are you tired of “sample” DevOps portfolios with code that’s never been run?&lt;br&gt;
I was too. That’s why I built automation-devops-lab: a real, working infrastructure automation project anyone can clone, test, and use as proof-of-skill — no corporate access or paid cloud credits needed.&lt;/p&gt;

&lt;p&gt;🚩 Why This Lab?&lt;br&gt;
Most engineers can’t show real infrastructure without a job, budget, or paid cloud.&lt;/p&gt;

&lt;p&gt;Recruiters and teams want proof not just theory.&lt;/p&gt;

&lt;p&gt;This project was built to solve both:&lt;br&gt;
A portfolio you can test, break, and prove end-to-end.&lt;/p&gt;

&lt;p&gt;🛠️ What’s Inside&lt;br&gt;
Terraform: Build AWS VPC, EC2, S3, RDS&lt;/p&gt;

&lt;p&gt;Ansible: Automated config for Nginx, Prometheus, Grafana&lt;/p&gt;

&lt;p&gt;GitLab CI: IaC pipeline to glue it all&lt;/p&gt;

&lt;p&gt;Live output &amp;amp; monitoring: Grafana dashboards, screenshots, diagrams&lt;/p&gt;

&lt;p&gt;Manual test: Every step can be run without paid SaaS&lt;/p&gt;

&lt;p&gt;🔄 Pipeline Stages (Production-Grade CI/CD)&lt;br&gt;
Stage 1: Lint &amp;amp; Security Scan – terraform fmt/validate, tfsec, ansible-lint, fail on critical&lt;/p&gt;

&lt;p&gt;Stage 2: Terraform Plan → Manual Approval – generate plan artifact, reviewer approve&lt;/p&gt;

&lt;p&gt;Stage 3: Terraform Apply → Deploy Infra – apply with plan, backup state to S3 + DynamoDB&lt;/p&gt;

&lt;p&gt;Stage 4: Ansible Config → Provision App/Monitoring – dynamic inventory, install stack, verify endpoint&lt;/p&gt;

&lt;p&gt;Stage 5: Integration Test → Grafana Screenshot – run test, capture dashboard proof&lt;/p&gt;

&lt;p&gt;Project Structure&lt;br&gt;
automation-devops-lab/&lt;br&gt;
├── terraform/       # Infra code: AWS, variables, modules&lt;br&gt;
├── ansible/         # Playbooks: config, monitoring&lt;br&gt;
├── .gitlab-ci.yml   # CI/CD pipeline&lt;br&gt;
├── images/          # Proof: diagrams, Grafana UI&lt;br&gt;
├── README.md        # Full doc (with quick start)&lt;/p&gt;

&lt;p&gt;Quick Start&lt;/p&gt;

&lt;h1&gt;
  
  
  Clone the repo
&lt;/h1&gt;

&lt;p&gt;git clone &lt;a href="https://github.com/nuntin/automation-devops-lab.git" rel="noopener noreferrer"&gt;https://github.com/nuntin/automation-devops-lab.git&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Provision AWS infra (Terraform)
&lt;/h1&gt;

&lt;p&gt;cd automation-devops-lab/terraform&lt;br&gt;
terraform init&lt;br&gt;
terraform apply -auto-approve -var-file="terraform.tfvars"&lt;/p&gt;

&lt;h1&gt;
  
  
  Configure EC2 (Ansible)
&lt;/h1&gt;

&lt;p&gt;cd ../ansible&lt;br&gt;
ansible-playbook -i aws_ec2_inventory.py site.yml&lt;br&gt;
ansible-playbook -i aws_ec2_inventory.py prometheus_grafana.yml&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3lsj44h22vj5pg8nvdig.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3lsj44h22vj5pg8nvdig.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Who’s This For?&lt;br&gt;
DevOps engineers/job seekers needing real, provable work&lt;/p&gt;

&lt;p&gt;Recruiters hiring for cloud/infrastructure roles&lt;/p&gt;

&lt;p&gt;Anyone learning IaC, automation, or prepping for interviews&lt;/p&gt;

&lt;p&gt;Why I Built It&lt;br&gt;
I rebuilt my skillset from scratch after leaving my last job.&lt;br&gt;
Every commit here was tested on real infra.&lt;br&gt;
If you’re stuck building a portfolio with “samples” — this lab is for you.&lt;/p&gt;

&lt;p&gt;Links&lt;br&gt;
GitHub: &lt;a href="https://github.com/nuntin/automation-devops-lab" rel="noopener noreferrer"&gt;https://github.com/nuntin/automation-devops-lab&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LinkedIn: &lt;a href="http://www.linkedin.com/in/nuntin-padmadin-97b708145" rel="noopener noreferrer"&gt;www.linkedin.com/in/nuntin-padmadin-97b708145&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Email: &lt;a href="mailto:nuntin.p@gmail.com"&gt;nuntin.p@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  devops  #terraform #ansible #kubernetes #gitlab #opensource #showdev
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
