Runbook Lab

DevOps how-tos where every command was actually run.

Tested DevOps how-tos (Terraform, Bicep, GitHub Actions, Docker, Kubernetes) with the real command output, plus small free tools that run in your browser.

Every guide ends with a "How this was tested" box: what I ran, on which versions, what I did not test, and the raw output files so you can check them.

Latest guides

Bicep optional parameters: ?, .? and ?? with conditional resources

2026-12-02

Make Bicep parameters optional with nullable types, safe dereference (.?) and coalesce (??), add conditional resources, and see why bicep lint can exit 0 with warnings.

Lint GitHub Actions locally with actionlint (and a pre-commit hook)

2026-12-02

Catch bad runner labels, script injection, missing jobs and shell errors before you push. Real actionlint output, a pre-commit hook and the self-hosted label fix.

Terraform moved blocks: into a module, count to for_each

2026-12-02

Refactor Terraform without destroying anything: move a resource into a module and switch count to for_each with moved blocks. Plans compared with and without.

Free browser tools

Subnet calculator with Azure, AWS and GCP reserved addresses

See how many IPs you really get in a subnet after the cloud reserves its share.

GitHub Actions cron checker

Paste a schedule, see the next runs in UTC and your local time, and get warnings.