Skip to content

Complete Terraform Training with CI/CD

Run a retail company's AWS platform with Terraform - shared modules, four CI/CD tools, security gates, and a pipeline factory that onboards any number of applications.

  • 73 lessons
  • 12 modules
  • 8h 2m of video
  • Beginner
  • Next batch starts January 16, 2027

What you will learn

  • Write, plan, apply and destroy Terraform safely, with state locked and encrypted in S3
  • Build a basic Terraform pipeline in each of four CI/CD tools and explain when a company picks each
  • Design versioned modules that many applications share, and release changes without breaking them
  • Run one pipeline design across DevOps, Dev and Prod with separate roles, state and no stored keys
  • Build a central pipeline that creates a dev and a prod pipeline for every new application from a .tfvars entry
  • Gate every change with Snyk IaC, Checkov, linting, secret scanning, saved plans and prod approvals

About this course

Run a retail company’s AWS platform with Terraform – shared modules, four CI/CD tools, security gates, and a pipeline factory that onboards any number of applications.

Every lesson is recorded in the real AWS console: we create the resource on camera, test that it works, and clean it up. Each video comes with a written guide and copy-ready commands.

  • Foundations – 6 lessons
  • The language – 6 lessons
  • State – 5 lessons
  • Real-world incidents – 13 lessons
  • Shared modules – 5 lessons
  • Quality – 4 lessons
  • Security scanning – 4 lessons
  • Four CI/CD tools – 6 lessons
  • DevOps, Dev and Prod – 6 lessons
  • The pipeline factory – 9 lessons
  • Capstone – 5 lessons
  • Career – 4 lessons

Your instructor: Yemi Ayodipe. Cloud security engineer with 14+ years in AWS architecture and security. AWS Certified Solutions Architect – Professional and Security – Specialty.

Course content

12 modules · 73 lessons · 8h 2m
1 Module 1: Foundations 6 lessons · 39 min
  1. What Is Terraform? Make an S3 Bucket by Hand, Then From Code Free preview 7:41
  2. Terraform Setup on Windows and Mac: Terraform, AWS CLI, Git and VS Code Without Access Keys Free preview 7:20
  3. Your First Terraform Apply: init, plan, apply and destroy an S3 Bucket the Safe Way Free preview 7:00
  4. How to Read a Terraform Plan: Create, Update, Replace and Destroy Explained 8:26
  5. Terraform Providers, Version Constraints and the .terraform.lock.hcl Lock File 7:06
  6. Terraform Foundations Recap: init, plan, apply, Plans, Providers and the Lock File 1:35
2 Module 2: The language 6 lessons · 36 min
  1. Terraform Resources, Variables and Outputs: Build an AWS VPC with Subnets 7:43
  2. Terraform Locals and Functions: Try Expressions Live in terraform console 6:35
  3. Terraform count vs for_each: Why Removing One Server Can Change the Wrong Ones 8:31
  4. Terraform Data Sources: Find the Latest Amazon Linux AMI and the Region's Availability Zones 5:08
  5. Terraform Conditionals, for Expressions and Dynamic Blocks: Security Group Rules from a List 6:33
  6. Terraform Language Recap: Variables, Locals, count vs for_each, Data Sources and Dynamic Blocks 1:58
3 Module 3: State 5 lessons · 33 min
  1. Terraform State Explained: What terraform.tfstate Holds, and How to Keep Secrets Out of It 7:29
  2. Terraform Remote State in S3: A Versioned, KMS-Encrypted Bucket with S3 Native Locking 10:48
  3. Terraform moved and removed Blocks: Rename and Forget Resources Without Destroying Them 6:58
  4. Terraform import Blocks: Bring a Hand-Made S3 Bucket Under Terraform 5:06
  5. Terraform State Recap: Secrets in State, Remote State in S3, moved, removed and import Blocks 2:24
4 Module 4: Real-world incidents 13 lessons · 1h 19m
  1. Remove Two Servers from a Terraform count List Without Destroying the Others: count to for_each with moved Blocks 7:29
  2. Upgrade the Terraform AWS Provider from v5 to v6 Safely: Upgrade Guide, init -upgrade and Breaking Changes 7:20
  3. Terraform State Lock Stuck After a Crashed Pipeline: Read the Lock Info and force-unlock Safely 6:12
  4. Terraform State File Deleted? Restore It from S3 Versioning (and Fix a Corrupted State) 5:53
  5. Terraform Drift: Someone Changed Production in the Console - Detect, Revert or Adopt 6:57
  6. Terraform "Already Exists" Error: Import the Resource, Don't Delete It 3:51
  7. Move Terraform Code into Modules Without Downtime: moved Blocks and a Zero-Change Plan 6:02
  8. Terraform -replace: Rebuild One Broken Server Without Touching the Others 6:13
  9. Terraform Apply Failed Halfway: Read the State, Fix the Code, Re-run Safely 5:30
  10. A Secret Leaked into Git: Rotate First, Then Clean - with Terraform and Gitleaks 7:26
  11. Someone Ran terraform destroy Against Prod: prevent_destroy, Deletion Protection and S3 Versioning 6:58
  12. Split a Huge Terraform State: removed Blocks Out, import Blocks In, Zero Changes 6:02
  13. Terraform Real-World Incidents Recap: 12 Problems Teams Hit, and How to Fix Each 2:47
5 Module 5: Shared modules 5 lessons · 29 min
  1. Your First Terraform Module: Turn a VPC into a Reusable Network Module 5:45
  2. Designing a Terraform Module Many Teams Share: Defaults, Validation and Outputs 7:51
  3. Releasing Terraform Module Versions: Git Tags, a Changelog and a Breaking Change Done Safely 8:23
  4. Using Terraform Registry Modules Safely: Pin the Version, Read the Inputs, Know When to Build Your Own 5:09
  5. Terraform Modules Recap: Your First Module, Shared Module Design, Versions and the Registry 2:13
6 Module 6: Quality 4 lessons · 21 min
  1. Terraform fmt, validate and TFLint, Run on Every Commit with pre-commit 8:01
  2. terraform test: Unit Tests with mock_provider, then a Real Integration Test 5:33
  3. Terraform Preconditions, Postconditions and check Blocks: Built-in Guardrails 5:49
  4. Terraform Quality Recap: fmt, validate, TFLint, terraform test and Built-in Checks 2:03
7 Module 7: Security scanning 4 lessons · 17 min
  1. Snyk IaC for Terraform: Find an Open Bucket and an Open SSH Port Before They Reach AWS 4:43
  2. Checkov for Terraform: Built-in Checks, a Custom Company Policy and Justified Skips 5:48
  3. Secret Scanning with Gitleaks: a pre-commit Hook and a Pipeline Gate 4:23
  4. Terraform Security Scanning Recap: Snyk IaC, Checkov and Gitleaks 2:05
8 Module 8: Four CI/CD tools 6 lessons · 1h 6m
  1. Terraform with GitHub Actions and OIDC: A Keyless Plan and Apply Pipeline 15:12
  2. Terraform with GitLab CI and OIDC: A Keyless Pipeline with a Manual Apply 12:53
  3. Terraform with Jenkins on EC2: An Instance Role, a Private Server and an Approval Step 13:25
  4. Terraform with AWS CodePipeline and CodeBuild: A Saved Plan, a Manual Approval, All Inside AWS 18:51
  5. GitHub Actions vs GitLab CI vs Jenkins vs CodePipeline for Terraform 3:16
  6. Terraform CI/CD Recap: GitHub Actions, GitLab CI, Jenkins and CodePipeline 2:04
9 Module 9: DevOps, Dev and Prod 6 lessons · 39 min
  1. DevOps, Dev and Prod Environments in One AWS Account with Terraform 4:34
  2. Terraform IAM Deploy Roles for Dev and Prod: Least Privilege for CI/CD Pipelines 7:57
  3. Central Terraform State in S3: One Bucket, One State File per App and Environment 8:22
  4. Manage a GitHub-to-AWS CodeConnections Connection with Terraform (No Stored Tokens) 4:00
  5. One Terraform Pipeline, Two Environments: CodePipeline Deploys Dev, Waits for Approval, Then Prod 11:20
  6. Terraform Environments Recap: DevOps, Dev and Prod, Deploy Roles, Central State and a Two-Environment Pipeline 2:49
10 Module 10: The pipeline factory 9 lessons · 1h 5m
  1. Designing a Terraform Pipeline Factory on AWS CodePipeline 3:49
  2. A Central Terraform Pipeline on AWS CodePipeline: Scan, Plan, Approve, Apply 12:24
  3. A Terraform Module That Builds Dev and Prod Pipelines for Any App 14:24
  4. A Terraform Pipeline Factory: Onboard Applications from One File per Department 8:30
  5. Onboard Serverless APIs into a Terraform Pipeline Factory 4:24
  6. Roll Out a Terraform Module Release to Every App, Dev First 5:33
  7. Pipeline Approvals, Email Alerts and an Audit Trail with Terraform 7:02
  8. Nightly Terraform Drift Detection for Every App with CodeBuild and EventBridge Scheduler 6:37
  9. Terraform Pipeline Factory Recap: Central Pipeline, App Pipelines, Releases, Alerts and Drift 2:24
11 Module 11: Capstone 5 lessons · 43 min
  1. Onboard a New Department with a Terraform Pipeline Factory: One .tfvars Entry, Two Pipelines 8:26
  2. A Bad Terraform Module Release: Caught in Dev, Kept Out of Prod, Rolled Back by a Version Pin 5:26
  3. Tear Down a Terraform Platform in the Right Order: Apps, Pipelines, Base, and Proof 9:57
  4. Scale-Test a Terraform Pipeline Factory: 20 Apps, 40 AWS CodePipelines, Quotas and Cost per App 16:57
  5. Terraform Capstone Recap: Onboard a Department, Survive a Bad Release, Tear Down, Scale to 20 Apps 1:59
12 Module 12: Career 4 lessons · 15 min
  1. 10 Terraform Interview Stories (STAR): State Locks, Lost State, Drift, Leaked Secrets and More 6:39
  2. Explain a Terraform Pipeline Factory in an Interview: A 3-Minute Whiteboard 2:55
  3. Terraform Portfolio, Resume Bullets and a Terraform Associate (004) Study Map 2:48
  4. Complete Terraform Training with CI/CD: The Whole Course in One Recap 2:14
Live bootcamp

Join the next live batch

Starts January 16, 2027

Learn cloud engineering and security live on Zoom, with an instructor and a cohort. Save your place and we will send you the schedule, the Zoom details and how to secure your seat.

  • Hands-on labs in the real AWS console
  • Ask questions as you build
  • No payment needed to join the list
We only use your details to contact you about the bootcamp.