Helmsman Academy
DevOps engineering, zero to expert

Infrastructure as code and configuration

6 lessons · about 91 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

Infrastructure as code that teams can trust: Terraform and OpenTofu (state, modules, testing, refactoring), Terragrunt, Ansible configuration management, golden images with Packer and cloud-init, and Kubernetes-native infrastructure with Crossplane and Cluster API.

Before you start: CI/CD pipelines; Azure fundamentals.

What you'll learn

Lessons

1. Terraform and OpenTofu: core workflow

Providers, resources, data sources, variables and outputs; init, plan and apply; the licence change and the OpenTofu fork.

Sign in to open the lesson

2. State, teams and drift

Remote backends and locking, state security, import blocks, moved blocks, drift detection and recovering from a stuck lock.

Sign in to open the lesson

3. Modules, environments, testing and Terragrunt

Module design and versioning, environment layouts, workspaces versus directories, terraform test, pre-commit checks and Terragrunt.

Sign in to open the lesson

4. Configuration management with Ansible

Inventories, playbooks, roles, collections, idempotence, check mode, Vault-encrypted variables and AWX.

Sign in to open the lesson

5. Immutable infrastructure and image pipelines

Golden images with Packer, cloud-init for first boot, AKS node images, and replacing rather than patching.

Sign in to open the lesson

6. Kubernetes-native infrastructure: Crossplane and Cluster API

Managing cloud resources and clusters through Kubernetes APIs, compositions for self-service, and choosing the right IaC tool.

Sign in to open the lesson

Common questions

What file pins provider versions?

.terraform.lock.hcl.

What does the azurerm backend use for locking?

Blob leases.

When do workspaces fit well?

Identical, short-lived copies of a stack.

What does serial do in a play?

Limits how many hosts change at once.

What runs at a VM's first boot from user data?

cloud-init.

Is Crossplane a CNCF graduated project?

Yes, since late 2025.