Terraform Associate (004) Certification Course for DevOps and SRE Engineers
Live, hands-on preparation for the current HashiCorp exam, with a focus on what infrastructure teams really do: remote state, drift, guardrails, secrets, and CI/CD.
Who this course is for
Engineers who provision or operate cloud infrastructure and want a recognised credential and real skill.
DevOps engineers
Move from copy-pasted snippets to reviewed, modular, repeatable infrastructure code.
SRE and platform engineers
Control drift, protect state, add guardrails, and make changes safe to roll out.
Cloud and sysadmin professionals
Automate manual console work and adopt existing resources with import.
Prerequisites: basic Linux command line, Git, and cloud concepts. No cloud account is needed for the core labs.
What you will be able to do
Skills you can use on day one of the job, not just exam facts.
Write and run
Plan, apply and destroy infrastructure with confidence, and read every line of a plan.
Design modules
Build versioned, reusable modules with clean inputs and outputs.
Operate safely
Use remote state with locking, detect drift, and import existing resources.
Secure and govern
Add custom conditions, keep secrets out of state, and use HCP Terraform workspaces and projects.
Course curriculum
10 modules, 36 hours, plus a 3-hour capstone and 3 hours of mock exams: 42 hours in total. Tap a module to see its topics.
1. IaC and Terraform fundamentals3 hours | Objectives 1-2
- What infrastructure as code is and why teams use it
- Multi-cloud, hybrid and service-agnostic workflows through providers
- Installing and versioning providers, the dependency lock file
- Multiple providers and aliases; how Terraform uses state
Lab: install Terraform and build your first provider-based configuration.
2. Core Terraform workflow3 hours | Objective 3
- Write, init, validate, fmt, plan, apply, destroy
- Reading plan output: create, update in place, replace
- Saved plans and safe approval habits
Lab: a guarded configuration with input validation.
3. Configuration: resources, data and variables4 hours | Objective 4
- Resource and data blocks, attributes, references, addressing
- Input variables, tfvars files, precedence, outputs
- Complex types: list, map, object, tuple, set
Lab: a parameterised application stack.
4. Configuration: logic and lifecycle4 hours | Objective 4
- count, for_each and dynamic blocks; expressions and built-in functions
- Implicit and explicit dependencies with depends_on
- Lifecycle rules: create_before_destroy, prevent_destroy, ignore_changes
Lab: a scalable set of resources with zero-downtime replacement.
5. Conditions and secrets3 hours | Objective 4
- Custom conditions: validation, precondition, postcondition, check
- Sensitive values and secrets management with Vault
- Ephemeral values and write-only arguments
Lab: add guardrails and a secret-safe configuration.
6. Terraform modules4 hours | Objective 5
- Module sources: registry, Git, local paths
- Variable scope, outputs and version constraints
- Designing a reusable, versioned module
Lab: build a module and consume it from two environments.
7. State management4 hours | Objective 6
- Local backend, remote backend block, state locking
- Resource drift: detect and reconcile
- State operations: list, show, move, remove
Lab: migrate to remote state, create drift on purpose, and fix it.
8. Maintain infrastructure: import and troubleshooting3 hours | Objective 7
- Importing existing infrastructure
- Inspecting state with the CLI
- Verbose logging with TF_LOG and reading errors
Lab: bring a hand-built resource under Terraform control.
9. HCP Terraform4 hours | Objective 8
- Workspaces and projects, run triggers, VCS-driven and CLI-driven runs
- Variable sets, teams, permissions, policy and governance
- Integrations; Community, HCP Terraform and Enterprise compared
Lab: run a stack end to end in HCP Terraform.
10. Industry module: CI/CD, testing and governance4 hours | Beyond the exam
- Plan on every pull request, apply on merge, with environment promotion
- Static security scanning of Terraform code (for example Checkov or Trivy)
- Testing with terraform test
- OpenTofu overview: what is the same and what differs from Terraform
Lab: a working pull-request pipeline for your capstone repository.
Capstone project and mock exams6 hours
- Capstone (3 hours): a modular stack with remote state, guardrails and a CI pipeline
- Timed mock exams (3 hours) and a targeted review of weak objectives
Format and schedule
Live and interactive
Instructor-led sessions with a hands-on lab every time. Recordings are shared.
Standard pace
7 weeks, 3 sessions per week of 2 hours. A fast-track schedule is available on request.
Support
Doubt clearing between sessions, weekly checkpoints, and exam-day strategy.
Frequently asked questions
Does the exam include hands-on labs?
No. Terraform Associate (004) is a one-hour multiple-choice exam, but understanding comes from doing, so our course is lab-heavy.
Do I need a cloud account?
Not for the core labs. Later labs can use any major cloud, and the exam tests Terraform behaviour rather than provider-specific details.
Terraform or OpenTofu?
The certification tests Terraform 1.12, so that is our focus. Module 10 gives you an OpenTofu overview so you can work in either world.
How long is the certification valid?
Two years from the date you pass.
I know the basics already. Can I skip ahead?
Yes. The 15-minute skills check maps what you know, and the plan is adjusted so you spend time only on gaps.
15-minute skills check
12 quick questions on the prerequisites for this course: Linux command line, Git and cloud basics. You get your score and a recommended starting point instantly.
How it works: the timer starts when you press Start. Answer all 12 questions (4 each on Linux, Git and cloud), then submit. Unanswered questions count as incorrect. Nothing is sent anywhere unless you choose to share your result.
Ready to get certified?
Take the 15-minute skills check and we will recommend your pace and schedule.
Take the skills check