Skip to content
>_
SecOps
Log
_
Home
Courses
Learning path
Resources
Topics
Blog
All courses
Terratest
Advanced
3 sections · 12 lessons · ~5h total · 12-question self-test
Start course
01
Beginner
4 lessons
Test yourself
01
Why test infrastructure code
The deploy-assert-destroy idea.
12 min
02
Your first Terraform test
InitAndApply, then assert.
12 min
03
The module toolkit
terraform, http-helper, aws, k8s.
12 min
04
Cleanup & defer destroy
Never leak real resources.
10 min
02
Intermediate
4 lessons
Test yourself
01
Assertions & retries
Eventual consistency in tests.
14 min
02
Testing Kubernetes & Helm
Deploy and probe workloads.
12 min
03
Test stages & speed
Skip stages; iterate fast.
12 min
04
Parallelism & fixtures
Isolated, concurrent tests.
12 min
03
Advanced
4 lessons
Test yourself
01
Strategy & the test pyramid
What to test, and at what level.
14 min
02
Cost, safety & isolation
Real resources cost money.
12 min
03
Terratest in CI/CD
Credentials, cleanup, gating.
12 min
04
The IaC testing landscape
Native tests, InSpec, Checkov.
10 min
Final exam
Test yourself on everything
12 questions drawn from all 3 sections — every answer explained as you pick.
Start final exam