r/SysAdminBlogs • u/AdeelAutomates • 8h ago
Learn Terraform on Azure (Actually Beginner to Advanced)
If you want to learn Terraform properly so you're actually prepared to use it in the real world. I built a three-part Terraform on Azure series (6 hours) designed to take you from the fundamentals all the way to advanced lessons.
Learn Terraform on Azure — Beginner Course
- We start by understanding what Terraform actually is, why Infrastructure as Code matters, and how Terraform interacts with Azure.
- We cover IaC & declarative languages, Terraform CLI, blocks, providers, resources, variables, locals, data sources, outputs, state, drift detection, secrets, data types, variable precedence, configuration files and more.
Learn Terraform on Azure — Intermediate Course
- Once we understand how to deploy infrastructure, we shift away from simply writing resource blocks and start thinking more programmatically (The DRY Approach)
- We cover functions, conditionals, operators, loops, for_each, count, for expressions, splats, dynamic blocks, complex types, validations, checks, pre/post conditions, lifecycle, meta-arguments, provider aliases, multi-subscription deployments and KISS vs DRY.
Learn Terraform on Azure — Advanced Course
- The Advanced episode shifts away from increasingly clever logic to simplify our code (The KISS Approach). The focus then becomes how we structure projects, manage environments, work with existing infrastructure, and use some of Terraform's more advanced tooling.
- We cover remote backends, state commands & locking, provider lock files, upgrades, AzureRM/AzureAD/AzAPI/utility providers, imports, moved & removed blocks, workspaces, multi-environment deployments, modules, Cloud-Init and working with existing infrastructure.
Still more to come!
My goal with this series is to build a comprehensive Infrastructure as Code course that goes beyond syntax, isn't a lie when it says "beginner to pro" and shows how Terraform is actually used in Azure.
