GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MohammeddJaveed/Terraform: Terraform Mastery

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
day1
day1
 
 
day2
day2
 
 
day3
day3
 
 
day4
day4
 
 
day5
day5
 
 
day6
day6
 
 
day7
day7
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

šŸš€ Terraform — Infrastructure as Code Journey

A structured, day-by-day hands-on upskilling journey through Terraform, covering everything from core concepts to production-ready patterns.

HCL Python Terraform Status


šŸ‘‹ About This Repository

This repository documents my self-driven Terraform learning journey — built day by day, commit by commit. Each folder (day1 through day7) represents a focused learning session where I implemented real Terraform concepts from scratch using HashiCorp Configuration Language (HCL).

This is not just theory — every concept here is written, tested, and version-controlled as working code.


šŸ—‚ļø Repository Structure

Terraform/
ā”œā”€ā”€ day1/          # Terraform basics & first provider configuration
ā”œā”€ā”€ day2/          # Providers, state, variables, functions & debugging
ā”œā”€ā”€ day3/          # Resource blocks, attributes & dependencies
ā”œā”€ā”€ day4/          # Variables, locals & outputs
ā”œā”€ā”€ day5/          # State management & remote backends
ā”œā”€ā”€ day6/          # Modules — reusability & composition
ā”œā”€ā”€ day7/          # Advanced patterns, functions & debugging
ā”œā”€ā”€ .gitignore     # Excludes sensitive .tfstate and .tfvars files
└── README.md

šŸ“… Day-by-Day Breakdown

šŸ“Œ Day 1 — Getting Started with Terraform

  • What is Infrastructure as Code (IaC) and why it matters
  • Installing Terraform and configuring the first provider
  • Understanding terraform init, plan, and apply
  • Writing and deploying the first .tf configuration file

šŸ“Œ Day 2 — Terraform Deep Dive

  • Understanding providers and how Terraform connects to AWS, Azure, GCP, and other platforms
  • Learning how Terraform state tracks deployed infrastructure
  • Using required_providers to lock provider sources and versions
  • Creating reusable configurations with input variables and output values
  • Adding simple logic with conditional expressions
  • Using built-in functions for strings, lists, maps, and type conversion
  • Debugging and formatting Terraform with validate, plan, console, TF_LOG, and fmt

šŸ“Œ Day 3 — Resources, Attributes & Dependencies

  • Defining cloud resources with resource blocks
  • Understanding implicit vs explicit dependencies
  • Using depends_on for controlled provisioning order
  • Reading resource attributes and chaining outputs

šŸ“Œ Day 4 — Variables, Locals & Outputs

  • Declaring input variables with type constraints
  • Using locals to simplify repeated expressions
  • Defining output blocks to expose infrastructure values
  • Passing variable values via .tfvars files

šŸ“Œ Day 5 — Terraform State Management

  • Understanding terraform.tfstate and why it matters
  • Configuring remote backends (e.g. S3) for team collaboration
  • State locking to prevent concurrent modification conflicts
  • Importing existing infrastructure into Terraform state

šŸ“Œ Day 6 — Modules: Reusability & Composition

  • Structuring configurations as reusable modules
  • Passing inputs and consuming outputs across modules
  • Using the Terraform Registry for community modules
  • Root vs child module patterns

šŸ“Œ Day 7 — Advanced Patterns, Functions & Debugging

  • Using built-in functions (lookup, merge, format, etc.)
  • Conditional expressions and dynamic blocks
  • terraform fmt for consistent code formatting
  • Debugging with terraform console and TF_LOG

šŸ› ļø Tech Stack

Tool Purpose
Terraform (HCL) Infrastructure provisioning and lifecycle management
Python Helper scripts and automation utilities
Git / GitHub Version control and portfolio hosting
.gitignore Excludes sensitive state files and credentials

⚔ Getting Started

To explore or run any of these configurations locally:

1. Clone the repository

git clone https://github.com/MohammeddJaveed/Terraform.git
cd Terraform

2. Navigate to a day folder

cd day1

3. Initialise Terraform

terraform init

4. Preview the execution plan

terraform plan

5. Apply the configuration

terraform apply

āš ļø Note: Ensure you have Terraform installed and valid cloud provider credentials configured before running apply.


šŸ” Security Note

Sensitive files such as *.tfstate, *.tfvars, and provider credential files are excluded via .gitignore. Never commit state files or credentials to version control.


šŸ“š Learning Resources

  • Terraform Official Documentation
  • Terraform Registry — Community Modules
  • HashiCorp Learn

šŸ™‹ About Me

Mohammed Javeed — Software Engineer based in Dublin, Ireland šŸ‡®šŸ‡Ŗ

Passionate about building scalable, clean software and continuously levelling up across the stack — from frontend React apps to cloud infrastructure with Terraform.

LinkedIn GitHub


⭐ Support

If this repository helped you or you found it interesting, consider leaving a ⭐ — it means a lot and helps others discover it!


Built with curiosity and consistency — one day at a time. šŸ—ļø

About

Terraform Mastery

Topics

built-in-functionsconditional-operatorshashicorp-vaultinfrastructure-as-codemodulesmulti-cloudmulti-region-terraformstatefilestatelockingterraform-moduleterraform-provisionerterraform-secretterraform-setupterraform-workspacevariables

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.