Course
Terraform & Infrastructure as Code
A practitioner's path through Terraform in real teams — state discipline, module design, environment strategy, secrets, drift detection, and safe delivery workflows.
Reviews
Enrolled members can rate this course.
No reviews yet.
State, Plans, and the Terraform Mental Model
Understand state as Terraform's memory, read plans as contracts, and recover safely when reality and apply diverge.
- 01State Is Terraform's Memory — Treat It Like Production DataLearn what Terraform state actually represents, why it is not merely a cache, and how backend, locking, and identity decisions shape every future operation.24mOpen
- 02Reading Plans as Contracts, Not Diff NoiseInterpret creates, updates, replacements, dependency edges, unknown values, and refresh effects before allowing any apply to run.23mOpen
- 03Locking, Partial Applies, and State RecoveryHandle stale locks, failed applies, orphaned objects, and state surgery without compounding the original incident.27mOpen
Modules and Environment Architecture
Design reusable module contracts, choose between workspaces and directory isolation, and refactor without destroying infrastructure.
- 01Module Contracts That Survive TeamsDesign modules around stable interfaces, explicit ownership, versioning, and composition instead of turning every internal helper into a public API.25mOpen
- 02Workspaces Versus Directory IsolationChoose environment topology based on blast radius, credentials, state isolation, and operational clarity rather than habit or tool fashion.22mOpen
- 03Refactoring Terraform Without Destroying the WorldUse moved blocks, imports, state migration, and zero-difference plans to restructure code while preserving real infrastructure identity.26mOpen
Secrets, Drift, and Team Operations
Handle credentials responsibly, detect out-of-band change, and build reviewable Terraform delivery workflows that scale beyond one operator.
- 01Secrets in Terraform Without Leaking ThemUnderstand what Terraform can and cannot protect, how secrets enter state and plans, and patterns for secret references, rotation, and external stores.27mOpen
- 02Drift Detection and Reconciliation Without SuperstitionDetect out-of-band change, decide whether to adopt, correct, or tolerate it, and build drift operations that do not destroy intentional runtime behavior.24mOpen
- 03Team Workflows: CI, Policy, and Safe ApplyBuild pull-request driven Terraform operations with isolated credentials, reusable plan artifacts, policy checks, controlled applies, and auditability.28mOpen