Terraform Tutorials and Notes
3 posts on terraform, newest first.
These are hands-on Terraform posts from GeekCoding101: a step-by-step first project, a practical guide to meta arguments, and notes from passing the HashiCorp Certified: Terraform Associate (003) exam. If you’re new to Terraform, start with the first project. If you’re already writing Terraform, the meta arguments post and the exam notes are the next steps.
Where to start
| If you want to… | Read |
|---|---|
| Build real infrastructure with Terraform for the first time | Mastering Terraform with AWS Guide Part 1 (19 min read) |
Understand depends_on, lifecycle, provisioner, connection and source | Terraform Meta Arguments Unlocked: Practical Patterns for Clean Infrastructure Code (7 min read) |
| Prepare for the Terraform Associate (003) certification | Terraform Associate 003 Exam: How to Prepare (8 min read) |
- 9 min read
Terraform Associate 003 Exam: How I Prepared and Passed
Terraform Associate (003) prep: exam format, cost, question types, the courses I used and my study notes on state, modules, import and moved blocks.
- 12 min read
Terraform Meta-Arguments: count, for_each, lifecycle & More
Terraform meta-arguments are special arguments that Terraform itself reads, not the provider. They change how a block is managed:
- 19 min read
Mastering Terraform with AWS Guide Part 1: Launch Real AWS Infrastructure with VPC, IAM and EC2
So… you’ve heard about Terraform. Maybe your team is using it, maybe your cloud dreams demand it — or maybe, like me, you’ve been deep in the Kubernetes jungle (My blog posts about K8S) and now want…
What these posts cover
- Getting started: writing your first configuration and launching real infrastructure, not just reading about it. This post is written for readers coming from Kubernetes.
- Meta arguments:
countandfor_eachare familiar to most people. The post focuses on the ones that look simple but often confuse:depends_on,lifecycle,source, plusconnectionandprovisioner. It shows patterns that keep infrastructure code clean. - Certification: how to prepare for the HashiCorp Certified: Terraform Associate (003) exam, written right after passing it.
FAQ
What are Terraform meta arguments?
Meta arguments are arguments built into Terraform itself, not into a specific provider. They change how Terraform handles a resource or module, for example how many copies to create (count, for_each), what it must wait for (depends_on), or how changes and deletions are handled (lifecycle). The meta arguments post walks through them with practical patterns.
Which post should I read first if I’m new to Terraform? Start with Part 1 of the hands-on guide. It builds real infrastructure step by step. Then read the meta arguments post.
Is there a guide for the Terraform Associate (003) exam? Yes. “Terraform Associate 003 Exam: How to Prepare” covers how to get ready for the HashiCorp Certified: Terraform Associate (003) exam, written after passing it.
Are these tutorials free? Yes. Every GeekCoding101 post is free to read, with no sign-up.