
Write a minimal configuration with pinned Terraform and AWS provider versions pointed at the local endpoint, and drive it through init, plan, apply, and destroy with a storage bucket as the managed resource - proving the plan previews before creation, a second plan is clean, and destroy leaves an empty state.
Constrain the AWS provider with a pessimistic version constraint and create the dependency lock file, then demonstrate that re-initialization respects the locked version and hashes, a constraint excluding the locked version is refused, and an explicit upgrade moves the selection only within the constraint.
Modify an existing configuration so one plan contains a create, an in-place update, and a replacement; read the plan to classify each action, apply the approved saved plan exactly, and prove that a stale saved plan is refused after the state moves on.
From an empty directory, build a pinned and locked configuration, then drive a create, an in-place update, and a replacement entirely through saved plans - proving idempotence between steps with no-change plans, capturing a stale-plan refusal after the state moves, and finishing with a complete destroy that empties state and endpoint.
Master Terraform from your first configuration to advanced infrastructure management. Learn providers, resources, state, variables, modules, environments, secrets, dependencies, lifecycle management, and infrastructure changes through hands-on problems. Every challenge is verified against a real local AWS environment, giving you practical experience with how Terraform actually provisions, manages, and changes infrastructure.
This path starts with writing Terraform configuration: HCL and providers, then variables, outputs and locals. You work in a Linux terminal, so you should be comfortable running basic commands there. No earlier Terraform experience is needed. The variables module ends with a parameterized deployment driven by typed inputs.
21 modules: HCL Fundamentals & Providers, Variables, Outputs & Locals, Resources & Dependencies, Data Sources & Expressions, Count, For-Each & Dynamic Blocks, State Basics, Modules Basics, Remote State & Backends, State Surgery & Refactoring, Workspaces & Environments, IAM & Policy as Code, Serverless Composition, Networking as State, Lifecycle, Conditions & Checks, Module Design & Reuse, Provider Aliases & Multi-Region, Secrets & Sensitive Data, Import & Brownfield Adoption, Zero-Downtime & Replacement Strategies, Automation & Plan Analysis and Testing & Integration Capstone.
84 exercises: 28 easy, 32 medium and 24 hard.
Challenges run on Terraform 1.15 and Linux CLI.
No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.