linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
Intro
Lessons
Footer
linuxlab-TutorialsPricingAboutPrivacy & cookies
Copyright © 2026 LinuxLab. All rights reserved.
linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
  • Введение
  • Уроки
  • How it works
  • База знаний
  • Шпаргалка
  • Capstone
  • Собеседование
Lessons

$ ls /lessons

Уроки.
47 готово. Растёт.

Каждый урок это последовательность шагов в sandbox. Ты пишешь HCL, запускаешь terraform-команды, а система автоматически проверяет: появился ли ресурс в state, чистый ли plan, совпадает ли значение output с ожидаемым.

Облако работает на LocalStack. Расходов ноль, рисков утечки credentials ноль, возможностей поломать и пересоздать сколько угодно.

Track

Beginner-трек

Порядок не обязателен, но рекомендуется. Каждый урок самодостаточен: sandbox создаётся с нуля.

  1. 01Terragrunt, DRY across dev/stage/prod~18 мин · 6 шагов
  2. 02CDKTF, Terraform from TypeScript~18 мин · 7 шагов
  3. 03Your own Terraform provider, Go and the Plugin Framework~22 мин · 6 шагов
  4. 04Large-scale state, breaking up the monolith~16 мин · 6 шагов
  5. 05Blue-green migration of legacy infrastructure in Terraform~16 мин · 6 шагов
  6. 06Infracost, estimating the cost of a plan~14 мин · 6 шагов
  7. 07OpenTofu, matrix CI alongside Terraform~12 мин · 6 шагов
  8. 08Capstone, VPC + ALB + ECS Fargate + Lambda~35 мин · 7 шагов
  9. 01Hello, S3: your first resource in Terraform~12 мин · 5 шагов
  10. 02Variables: removing the hardcode~10 мин · 4 шагов
  11. 03Outputs: returning values to the outside~8 мин · 3 шагов
  12. 04State: what lives inside the terraform.tfstate file~10 мин · 4 шагов
  13. 05Update: change an attribute, read the diff~10 мин · 4 шагов
  14. 06Destroy: tear down infrastructure safely~8 мин · 3 шагов
  15. 07Data sources: reading what already exists~10 мин · 2 шагов
  16. 08count vs for_each: creating resources in bulk~12 мин · 3 шагов
  17. 09lifecycle: blocking, ignoring, and recreating~12 мин · 4 шагов
  18. 10locals and functions: removing duplication in HCL~12 мин · 3 шагов
  19. 11HCL hygiene: fmt, validate, console~12 мин · 5 шагов
  20. 12Debugging. TF_LOG, the graph, reading someone else's error~15 мин · 5 шагов
  21. 01Troubleshooting Garden: untangle the Cycle Error~18 мин · 3 шагов
  22. 02Troubleshooting Garden: state and the cloud have drifted apart~20 мин · 5 шагов
  23. 03Troubleshooting Garden: import points at nothing~16 мин · 4 шагов
  24. 04Troubleshooting Garden: Checkov fails in the pipeline~18 мин · 4 шагов
  25. 05Troubleshooting Garden: the module went stale, the provider got upgraded~20 мин · 4 шагов
  26. 01Your first module: move S3 into something reusable~18 мин · 7 шагов
  27. 02A Module from the Terraform Registry~15 мин · 5 шагов
  28. 03for_each over a module: N instances from one block~15 мин · 4 шагов
  29. 04dynamic blocks: repeated subblocks~15 мин · 4 шагов
  30. 05templatefile: render configs from HCL~14 мин · 5 шагов
  31. 06Remote state in S3 (on LocalStack)~18 мин · 5 шагов
  32. 07state mv, state rm: operations on state~15 мин · 6 шагов
  33. 08Declarative import: capturing an existing resource~15 мин · 5 шагов
  34. 09The moved block: refactoring without recreation~14 мин · 5 шагов
  35. 10preconditions, postconditions, and the check block~14 мин · 5 шагов
  36. 11Utility providers: random, time, archive, external~16 мин · 5 шагов
  37. 12Multi-env: workspaces vs directories~18 мин · 6 шагов
  38. 01Linters: fmt, validate, tflint~14 мин · 6 шагов
  39. 02pre-commit hooks for Terraform~14 мин · 6 шагов
  40. 03Native tests, .tftest.hcl and assert~16 мин · 5 шагов
  41. 04Mock providers, tests without the cloud~14 мин · 5 шагов
  42. 05Checkov, an HCL security scanner~13 мин · 5 шагов
  43. 06OPA + Rego, gating plan.json~16 мин · 5 шагов
  44. 07Plan as an artifact, between PR and apply~14 мин · 5 шагов
  45. 08GitHub Actions, the full pipeline through act~18 мин · 5 шагов
  46. 09OIDC, an IAM role for CI without access keys~15 мин · 5 шагов
  47. 10Drift detection, scheduled plan, and alerting~14 мин · 6 шагов

$ начни с 01-hello-s3: главный цикл Terraform за 12 минут. Дальше по порядку.

$ beginner-трек закрыт. Intermediate-трек (модули, multi-env, terratest) пока в работе.

Footer
linuxlab-
Copyright © 2026 LinuxLab. All rights reserved.
Tutorials
Pricing
About
Privacy & cookies