1
Infrastructure as code from zero 3 lessons Practice: Classify a website's three components
What Is Infrastructure? Compute, Networking and Storage Manual Infrastructure vs Infrastructure as Code Terraform Workflow: Write, Plan and Apply 2
First configuration and lifecycle 3 lessons Practice: Read a local-only main.tf fixture
First terraform_data configuration Initialize, format and validate 3
Input variables and assignment precedence 2 lessons Practice: Create a bounded replica-count input
Declare typed input variables Variable files and precedence 4
Providers, resources and data sources 2 lessons Practice: Annotate a fictional provider setup
Provider configuration and schemas Resources versus data sources 5
Provider installation, constraints and dependency locks 2 lessons Practice: Compare three candidate version numbers
Version constraints and dependency locking Trusted provider installation 6
Dependency graph and ordering 2 lessons Practice: Construct a three-node dependency graph
Implicit and explicit dependencies Cycles and unknown values 7
Validation, checks and conditions 2 lessons Practice: Classify an invalid input and an invalid result
Input validation and custom conditions Check blocks and failure behavior 8
State fundamentals and resource identity 2 lessons Practice: Map three fictional addresses and IDs
State bindings and resource addresses Inspect state without exposing secrets 9
Planning, applying and reviewing changes 2 lessons Practice: Review a fictional action list
Saved plans and stale changes 10
Remote backends and state locking 2 lessons Practice: Select a backend for a fictional team
Local and remote backend selection State locking and safe recovery 11
Modules from zero 2 lessons Practice: Sketch a two-file local module
Module sources and versions 12
Reusable module design and composition 2 lessons Practice: Specify a naming module contract
Reusable interfaces and validation Module composition and compatibility 13
Provider aliases and multiple accounts/regions 2 lessons Practice: Map two fictional regions to aliases
Provider aliases and mappings Multiple accounts and region boundaries 14
Importing existing infrastructure 2 lessons Practice: Map an existing fictional resource to an address
Import and adoption planning Import blocks and reconciliation 15
Refactoring and resource address migration 2 lessons Practice: Rename a synthetic resource address
Moved blocks and address refactoring Removed blocks and ownership transfer 16
Secrets, sensitive values and state protection 2 lessons Practice: Classify data exposure in synthetic artifacts
Sensitive values and persisted artifacts Ephemeral values and write-only arguments 17
Troubleshooting and infrastructure incident recovery 2 lessons Practice: Triage three sanitized errors
Diagnose configuration and provider errors Partial apply and incident recovery 18
HCP Terraform foundations 2 lessons Practice: Trace a fictional run approval
HCP Terraform workspaces and runs HCP projects, variables and collaboration