
Configure providers with aliases for multi-region setups and disaster recovery, using default aws and alias aws.dr. Avoid provider blocks in modules and map aliases with the providers argument.
Upgrade Terraform across environments by planning changes, testing in the lowest environment, and promoting the same version step by step with a rollback path.
This course contains the use of artificial intelligence.
Prepare for the HashiCorp Certified: Terraform Infrastructure Engineer Professional exam by learning to predict exactly what Terraform will do.
The Professional exam is not a vocabulary test. It puts real configuration, plans, and errors in front of you and asks what happens next. Which instances does this for_each create, and what are their addresses? Why does this plan destroy three subnets? Where did this variable's value actually come from? Will this apply leave a half-built database in state? This course builds that skill on Terraform 1.15, the version the exam targets, with every example taken from a real run.
What makes this course different
Every output is real. Plans, errors, console results, test runs, and policy evaluations were produced by actually running Terraform 1.15, current providers, Sentinel, and OPA. Nothing is invented or paraphrased from memory.
One project, start to finish. You follow Brightwater Retail, a fictional online retailer, from its first network module to its HCP Terraform policy sets. The same queues, subnets, pipeline, and workspaces return in every domain, so each lecture builds on the last.
Code you can read on screen. Syntax-highlighted HCL and terminal slides highlight the exact lines being discussed, step by step.
Prediction first. Scenario lectures pause on each question, then reveal and highlight the correct answer with the reasoning, the same thinking you need on exam day.
Two lab walkthroughs per domain. Fourteen labs show refactoring, recovery, debugging, and operations in practice.
What you'll learn
Section 1: Welcome and orientation. The 002 exam format, the seven domains, the Brightwater project, and how to set up a lab that needs no cloud account.
Section 2: Domain 1, Scalable Terraform Configuration Design. Turning requirements into code, version pins and type constraints, validation, preconditions, postconditions, and check blocks. Tracing variables, locals, and outputs to the source of a bug. for_each and count, splat expressions, and dynamic blocks in a real plan. Predicting functions such as merge, flatten, cidrsubnet, cidrsubnets, try, coalesce, and one, plus the edge cases that trip people up: duplicate keys, type unification in conditionals, and lexical sorting. Provider aliases and modules, ephemeral values, write-only arguments, and the Terraform MCP server for AI coding agents.
Section 3: Domain 2, Terraform State and Backend Operations. S3 backends with lockfiles, the cloud block, and partial configuration. Migrating state between backends and how CLI workspaces store state. Choosing between terraform_remote_state, tfe_outputs, and data sources. Drift with refresh-only plans. Moved, removed, and import blocks used together in one reviewed change. Recovering from a bad state rm, and why serial and lineage checks block the dangerous fix.
Section 4: Domain 3, Infrastructure Lifecycle and Operations. Planning and reading plans like a reviewer, the anatomy of a replacement (must be replaced, replace_triggered_by, and -replace), create_before_destroy and deposed objects, importing existing infrastructure, and managing multiple environments. When custom conditions fail and what state looks like afterwards. Troubleshooting with console, graph, and TF_LOG. The dependency lock file, init -upgrade, and a day-two incident handled with -replace and -target.
Section 5: Domain 4, CI/CD and Automation Workflows. The anatomy of a pipeline and a GitHub Actions workflow line by line. Saved plans, -detailed-exitcode, and plan JSON guardrails. Deployment strategies including blue/green and feature flags in HCL. Dynamic provider credentials. A lab that proves the full variable precedence order with real runs.
Section 6: Domain 5, Terraform Security and Governance. What leaks into state and how to stop it, ephemeral resources and write-only arguments in practice, Vault patterns from static reads to dynamic credentials, securing pipeline identities, and policy as code. You will write and test real Sentinel and OPA policies against a real plan, then fix a failed policy check the right way.
Section 7: Domain 6, Advanced Module Usage and Registry Practices. When to refactor into a module, designing interfaces with optional attributes (and the typo that silently becomes a default), modules that need more than one provider configuration, public and private registries, semantic versioning, and terraform test with mocks, overrides, expected failures, and state_key.
Section 8: Domain 7, HCP Terraform / Enterprise Operations. Organizations, projects, and workspaces, workspace design at scale, the life of a run from pending to applied, cost and usage tracking, health assessments with drift detection and continuous validation, version upgrades, policy sets in the run pipeline, and managing HCP Terraform itself as code with the tfe provider.
Section 9: Final review. Exam strategy and common traps, one change followed through every domain, and a final set of mixed-domain scenarios.
Practice that mirrors the exam
Exam scenario lectures in every domain, with code-reading questions answered step by step.
A quiz after every section to check your understanding before moving on.
A full-length practice exam: 60 questions in 90 minutes, matching the real exam's time limit, with multiple-choice and multiple-select questions. Every option has its own explanation, and every question links to the official HashiCorp documentation.
What a typical lecture looks like
Take the lab walkthrough on refactoring count to for_each. You start with three subnets created with count, switch the code to for_each keyed by zone name, and run a plan before doing anything else. The real plan says three to add and three to destroy, because every address changed. Then you map each index to the key it actually held, checking against state, add one moved block per instance, and watch the real plan drop to zero changes. Finally the lecture connects it to the exam: a question can show you a snippet like this and ask how many resources will be replaced, and now you know both the trap and the fix. Every lab and deep dive follows that pattern: the naive approach, the evidence from a real plan, the correct approach, and the exam angle.
How to use this course
Watch each domain in order. When a lecture asks what a plan will show, pause and predict it before the answer appears.
Follow the lab walkthroughs on your own machine. Most use terraform_data or local resources and need no cloud account.
Take each section quiz. Rewatch the deep dive for any topic you miss.
Take the practice exam under timed conditions, review every explanation, and revisit weak domains.
Use the final review lectures in the days before your exam.
Who this course is for
This course is for infrastructure, platform, and DevOps engineers who already use Terraform and want the Professional certification. It's a strong next step after the Terraform Associate, and it's equally useful if you run Terraform in pipelines or HCP Terraform and want to understand exactly why it behaves the way it does.
How the course is built
The course runs about 4 hours 50 minutes across 112 video lectures in nine sections. It is organized around the seven official exam domains and their objectives. Lectures are focused and practical, with a mix of concept lectures, deep dives built on real plans and errors, scenario lectures, and lab walkthroughs. Code and terminal output appear on syntax-highlighted slides, with each line highlighted as it's discussed, and closed captions are included for every lecture.
About the exam
The HashiCorp Certified: Terraform Infrastructure Engineer Professional exam targets Terraform 1.15 and covers seven domains: configuration design, state and backends, lifecycle and operations, CI/CD and automation, security and governance, modules and registry practices, and HCP Terraform operations. It is a 90-minute, online proctored exam. Always confirm the latest details on the official HashiCorp certification page before you book.
Disclaimer: This course is independent and is not affiliated with, endorsed by, or sponsored by HashiCorp, an IBM Company. Terraform, HCP Terraform, Sentinel, and Vault are trademarks of HashiCorp, an IBM Company.
Enroll now and learn to read Terraform the way the exam does.