Stage 04 · Deliverintermediate Coding exercisesCloud & DevOps

Infrastructure as Code with Terraform

Manage cloud infrastructure like software — versioned, reviewed, repeatable. Write, plan, and apply real Terraform: state, modules, and safe change workflows.

5 hours 7 modules

The framework

Plan-Apply-Destroy Lifecycle

Terraform's three-command lifecycle: Plan (preview changes), Apply (execute changes), Destroy (tear down) — combined with modules and remote state for team workflows.

Share

How you'll learn

Text-first. Practice-heavy. No video lectures.

15-minute text lessons

Short, dense reading you can finish between meetings — not hour-long video lectures.

Hands-on exercises

Apply the framework to a realistic scenario, right in the module where you learned it.

Quizzes & assessments

Check your judgment, not just your memory — most questions are situational.

Certificate on completion

Finish a course and get a shareable certificate, automatically.

About this course

Learn to provision, manage, and version cloud infrastructure using Terraform's declarative approach. Move from manual console clicks to reproducible, auditable infrastructure.

The project: Terraform Module for a Three-Tier AWS Application

Write a reusable Terraform module that provisions a complete three-tier application environment on AWS, parameterised for dev/staging/prod.

  1. 1

    Why Infrastructure as Code? The Plan-Apply-Destroy Lifecycle

    30 min· Knowledge check
    Free preview
  2. 2

    Terraform Modules, State Management & Best Practices

    30 min· Knowledge check
  3. 3

    HCL Deep Dive: Resources, Data Sources & Expressions

    Reading and writing the HashiCorp Configuration Language fluently — the building blocks every Terraform file is made of.

    25 min· Knowledge check
  4. 4

    Remote State, Locking & Team Collaboration

    Why state must move off your laptop the moment a second person touches the infrastructure — and how to do it safely.

    22 min· Knowledge check
  5. 5

    Writing Reusable Modules

    Module design as API design: inputs, outputs, versioning, and the patterns that make infrastructure genuinely reusable.

    25 min· Knowledge check
  6. 6

    Testing & Securing Terraform Code

    Validate, plan-guard, and policy-check infrastructure code with the same rigour as application code.

    22 min· Knowledge check
  7. 7

    Capstone: A Production-Grade VPC Module

    Design, build, test and publish a reusable VPC module exactly as you would for an organisational registry.

    50 min· Knowledge check