New content added weeklyLive
Master Terraform with Adaptive AI.
Master Terraform across 24 topics - Foundations, Modules and State, and Advanced Terraform - guided by Leyaa's adaptive intelligence.
3Parts
24Topics
194Patterns
50hEst. duration
Terraform Course
3 - part learning journey
Foundations
8 topics · 65 patterns
Modules and State
8 topics · 66 patterns
Advanced Terraform
8 topics · 63 patterns
✦ Course Structure
Your Terraform Journey in 3 Parts
Each part builds on the last - a deliberate progression from beginner to advanced.
Part 1: Foundations
Covers Infrastructure as Code Fundamentals, Configuration Language (HCL), Providers and 5 more topics.
8Topics
65Patterns
View topics
Part 2: Modules and State
Covers Data Sources, Expressions and Functions, Resource Meta-Arguments and 5 more topics.
8Topics
66Patterns
View topics
Part 3: Advanced Terraform
Covers Workspaces, Complex Type System, State Operations and 5 more topics.
8Topics
63Patterns
View topics
Curriculum
Everything You'll Learn
Explore every topic and pattern in the course.

Terraform
3 parts · 24 topics · 194 patterns100% freeEvery pattern is free. Create a free account to start, and Leyaa tracks what you actually know.
Part 1: Foundations8 topics · 65 patterns
Beginner01
Infrastructure as Code Fundamentals
8 patterns
Free
What is Infrastructure as CodeStart free Why IaC over manual provisioningStart free Declarative vs imperative IaCStart free Terraform's declarative approachStart free Terraform vs CloudFormation vs PulumiStart free Terraform provider ecosystemStart free Installing TerraformStart free Terraform CLI overviewStart free
02
Configuration Language (HCL)
8 patterns
Free
Why HCL matters as Terraform's languageStart free Block syntax and structureStart free Arguments and expressionsStart free String interpolationStart free Comments in HCLStart free File naming conventions (.tf files)Start free Terraform file organizationStart free JSON configuration alternativeStart free
03
Providers
8 patterns
Free
Why providers connect to cloud APIsStart free Provider configuration blockStart free AWS provider setupStart free Azure provider setupStart free GCP provider setupStart free Provider versioning constraintsStart free Multiple provider configurationsStart free Provider aliases for multi-regionStart free
04
Resources
8 patterns
Free
Why resources are Terraform's coreStart free Resource block syntaxStart free Resource types and namesStart free Resource arguments and attributesStart free Resource dependencies (implicit)Start free Creating your first resourceStart free Resource documentation referenceStart free Meta-arguments overviewStart free
05
Terraform Workflow
9 patterns
Free
Why the workflow mattersStart free Terraform init for initializationStart free Terraform plan for previewStart free Terraform apply for executionStart free Terraform destroy for cleanupStart free Plan output readingStart free Auto-approve flag and its dangerStart free Terraform validate for syntax checkStart free Terraform fmt for formattingStart free
06
State Management Fundamentals
8 patterns
Free
Why state is essentialStart free State file purpose and structureStart free Local state behaviorStart free Terraform show for state inspectionStart free Terraform state list commandStart free State and real infrastructure mappingStart free Why state should not be edited manuallyStart free State file sensitivity and securityStart free
07
Variables
9 patterns
Free
Why variables make configurations reusableStart free Variable declaration syntaxStart free Variable types (string, number, bool, list, map)Start free Default valuesStart free Variable validation rulesStart free Input variable precedence orderStart free Terraform.tfvars fileStart free Environment variables (TF_VAR_)Start free Sensitive variablesStart free
Part 2: Modules and State8 topics · 66 patterns
Intermediate01
Data Sources
8 patterns
Free
Why data sources query existing infrastructureStart free Data source block syntaxStart free Querying existing resourcesStart free Data source vs resource differenceStart free AMI lookup data source exampleStart free Availability zones data sourceStart free Remote state data sourceStart free Data source dependenciesStart free
02
Expressions and Functions
9 patterns
Free
Why expressions add logicStart free Conditional expressions (ternary)Start free For expressions for transformationStart free Splat expressionsStart free String functions (join, split, format)Start free Numeric functions (min, max, ceil)Start free Collection functions (length, flatten, merge)Start free Type conversion functionsStart free File functions (file, templatefile)Start free
03
Resource Meta-Arguments
9 patterns
Free
Why meta-arguments control resource behaviorStart free Count for multiple instancesStart free For_each for map-based instancesStart free Count vs for_each decisionStart free Depends_on for explicit dependenciesStart free Lifecycle customizationStart free Prevent_destroy lifecycle ruleStart free Create_before_destroy lifecycle ruleStart free Ignore_changes lifecycle ruleStart free
04
Modules
10 patterns
Free
Why modules enable reusabilityStart free Module structure and conventionsStart free Root module conceptStart free Creating a child moduleStart free Module inputs (variables)Start free Module outputsStart free Module sources (local, registry, git)Start free Terraform Registry modulesStart free Module versioningStart free Module composition patternsStart free
05
Remote State
8 patterns
Free
Why remote state matters for teamsStart free S3 backend configurationStart free Azure Storage backendStart free GCS backend configurationStart free State locking with DynamoDBStart free Backend initialization and migrationStart free Partial backend configurationStart free State encryption at restStart free
06
Provisioners
8 patterns
Free
Why provisioners run scripts on resourcesStart free Local-exec provisionerStart free Remote-exec provisionerStart free File provisionerStart free Connection blocks for SSHStart free Creation-time vs destruction-timeStart free Provisioner failure behaviorStart free Why provisioners are a last resortStart free
07
Dynamic Blocks
7 patterns
Free
08
Terraform Import
7 patterns
Free
Why importing existing resources mattersStart free Terraform import commandStart free Import block syntax (Terraform 1.5+)Start free Writing configuration for imported resourcesStart free Import state verificationStart free Bulk import strategiesStart free Import limitations and considerationsStart free
Part 3: Advanced Terraform8 topics · 63 patterns
Advanced01
Workspaces
8 patterns
Free
Why workspaces separate environmentsStart free Default workspaceStart free Creating and switching workspacesStart free Workspace naming conventionsStart free Terraform.workspace interpolationStart free Workspaces vs directory-based separationStart free Workspaces and remote stateStart free When workspaces are appropriateStart free
02
Complex Type System
8 patterns
Free
03
State Operations
8 patterns
Free
Why state operations are neededStart free Terraform state mv for refactoringStart free Terraform state rm for removing resourcesStart free Terraform state pull and pushStart free State replace-providerStart free Terraform taint and untaint (deprecated)Start free Terraform apply -replace flagStart free State disaster recoveryStart free
04
Testing and Validation
8 patterns
Free
Why testing infrastructure mattersStart free Variable validation blocksStart free Preconditions and postconditionsStart free Check blocks for assertionsStart free Terraform test framework (1.6+)Start free Test file structureStart free Mock providers in testsStart free Integration testing strategiesStart free
05
CI/CD Integration
8 patterns
Free
06
Advanced Patterns
7 patterns
Free
Why patterns solve common problemsStart free Remote state data source for cross-projectStart free Terraform_remote_state usageStart free Dependency inversion with modulesStart free Blue-green infrastructure patternStart free Immutable infrastructure conceptStart free Zero-downtime deployment patternStart free
07
Security and Best Practices
8 patterns
Free
Why security matters in IaCStart free Sensitive variable handlingStart free State file encryptionStart free OIDC authentication for CI/CDStart free Least privilege for Terraform service accountsStart free Code review for infrastructure changesStart free Terraform security scanning toolsStart free Secret management integration (Vault, Secrets Manager)Start free
08
Terraform at Scale
8 patterns
Free
Why scaling Terraform mattersStart free Monorepo vs multi-repo for TerraformStart free Module registry for organizationStart free Terragrunt for DRY configurationsStart free Terraform Cloud/Enterprise featuresStart free State file performance at scaleStart free Provider caching and mirrorsStart free Team workflows and collaborationStart free
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 194 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - topic by topic, pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
Foundations → Modules and State → Advanced Terraform - a structured journey where each part sets you up perfectly for the next.
Terraform
Ready to master Terraform?
Start your journey today
Start your diagnostic now. Build mastery across all 24 topics in under 15 minutes.
24 Topics
194 Patterns
Personalized roadmap













