Skip to content

Versions and upgrades

This site documents engine v12.9.4.

Every version number below is the one the platform pins today. When an upgrade lands, update this page first.

Five families of pins carry versions in a customer repository: the engine, the toolchain, the AVM modules, the provider lock files, and the ALZ policy libraries. Each one upgrades the same way, through a pull request that plans before it applies. One more pin lives outside the repository, in the bootstrap: the self-hosted runner image.

This page states what is pinned. Upgrades has the procedures, and the release history has what changed per engine release.

Engine pins

The engine is consumed through five caller workflows in .github/workflows/.

File Pin
tfpr-pr.yml uses: nrit-solutions/tfpr/.github/actions/dispatch@v12.9.4 (the action only dispatches the ops caller; it runs no engine code)
tfpr-unlock.yml uses: nrit-solutions/tfpr/.github/actions/dispatch@v12.9.4 (same action; the closed-event unlock caller)
tfpr-review.yml uses: nrit-solutions/tfpr/.github/actions/dispatch@v12.9.4 (same action; the review caller)
tfpr.yml uses: nrit-solutions/tfpr/.github/workflows/terraform-pr-ops.yml@v12.9.4
drift.yml uses: nrit-solutions/tfpr/.github/workflows/drift.yml@v12.9.4

The uses: ref is the only pin. Each job of the two reusable workflows installs the engine runtime (the tfpr binary and the gate scripts) from the public release that its own uses: ref names, so the workflow YAML and the engine code cannot drift apart. Move every pin together.

Exact versions are the contract

vX.Y.Z tags are immutable and callers pin one exactly. There is no moving v1 tag. An earlier policy offered one and it is retired, because it meant a customer could not tell from the file which engine they were running, and a repository could change behavior with no commit. Nothing arrives automatically, so an upgrade is always a change you can see, review, and revert.

Supported versions

Support and fixes apply to these engine versions:

  • The latest minor release of the current major. Today that is v12.9, at v12.9.4. An older v12 minor is not supported: move to the latest v12 release, which needs no caller change beyond the version.
  • The latest minor release of the previous major, for six months after the new major ships. The six months start on the release date of the new major, shown in the release history.

The policy starts with v12. v11 and earlier are not supported.

Release pace. At most one major release ships per calendar quarter, so a repository needs at most four breaking upgrades a year. The upgrade guide has the steps for each major. Minor and patch releases ship whenever they are ready and never need a caller change beyond the version.

Fixes on an older major. A supported earlier major gets patch releases only for critical security fixes and for updates to the license signing key set. Every other fix and every feature lands in the current major.

Toolchain pins

The whole toolchain is pinned in mise.toml at the repository root: the two tools the engine runs, and the three the commit hooks and the PR caller's pre-commit job run. The setup-tools action detects the version manager and installs those versions, so a bump is a one-line change with no workflow edit.

[tools]
terragrunt = "1.1.6"
terraform = "1.16.5"

pre-commit = "4.6.1"
tflint = "0.64.0"
checkov = "3.4.0"

live/root.hcl also sets floor constraints: Terraform >= 1.12 and Terragrunt >= 1.0. Keep the mise.toml versions at or above those floors.

To move a toolchain version, change mise.toml in its own pull request and plan every unit on it with tfpr plan -p <unit>, because a mise.toml change plans no unit by itself. Merge once every unit shows no changes.

Runner image pin

The self-hosted runner image is ghcr.io/nrit-solutions/alz-runner at 2.5.0, digest sha256:33b7605d2e1748d17a2ebc47360d17a65665008f7345870a4f98e43b5deba0a4. It is pinned per customer in the bootstrap tfvars (runner_image_version plus runner_image_digest, always from the same release) and imported into an in-tenant registry by digest, so the pin states exactly which signed artifact a customer's runners execute. The image carries the gate tools (checkov 3.4.0, conftest 0.71.1) and the GitHub Actions runner (2.338.2); it deliberately carries no Terraform, Terragrunt, or engine binary, because the mise.toml and engine pins above own those. The runner starts through GitHub's run.sh, so when GitHub releases a newer runner, an older image updates itself at start-up instead of stopping work: about 30 days after a newer release GitHub no longer hands jobs to the old version. Bumping the pin removes that start-up download. A runner that gets no job within ten minutes stops, so a runner that cannot work never runs for the full replica timeout. Jobs run as the non-root runner user, and the image has no sudo. Upgrading is a two-value tfvars change and a targeted bootstrap apply; see Bootstrap.

Provider lock files

Provider versions are settled by the committed .terraform.lock.hcl in each unit, not by the ~> constraints in the generated providers.tf. Terragrunt copies the lock file into its run directory and back out again, so it is the file that decides what plan and apply use, and both HashiCorp and Terragrunt say to commit it. Without one, every run re-resolves and tfpr apply can run a different provider version than the plan that was reviewed.

A new unit ships its own lock file, from terragrunt --working-dir live/<unit> init -backend=false followed by TG_NO_AUTO_INIT=true terragrunt --working-dir live/<unit> run -- providers lock -platform=darwin_arm64 -platform=linux_amd64. The second command records the linux_amd64 hashes the runner needs: the engine verifies the cached provider packages against the lock file, and a lock file without the runner's platform makes the cache miss on every job. To move a provider version, run init again with -upgrade, then the same providers lock command, and commit the diff as its own pull request. Never delete a lock file to make an error go away.

A repository freshly stamped from the template starts with none, on purpose: a lock file records the versions resolved at the moment it is written, so pre-generated ones would start every customer on whatever resolved the day the template was last touched. Onboarding generates them once, against that customer's own tree, and the pre-commit invariants check warns, without blocking, until it has.

AVM module versions

Each foundation unit's main.tf sources an Azure Verified Module with an explicit version argument.

Module Version Unit
Azure/avm-ptn-alz-management/azurerm 0.10.0 management-resources
Azure/avm-ptn-alz/azurerm 0.22.0 landing-zones
Azure/avm-ptn-monitoring-amba-alz/azurerm 0.4.0 amba
Azure/avm-ptn-alz/azurerm 0.22.0 amba

To upgrade, change the version argument, open a pull request, and review the plan. The Azure/avm-ptn-alz/azurerm version appears in two units. Keep both on the same version so the two ALZ pattern deployments agree.

Provider constraints live alongside them: hashicorp/azurerm at ~> 4.0, Azure/azapi at ~> 2.12, hashicorp/azuread at ~> 3.10 (root default only), and Azure/alz at ~> 0.22. A major AVM bump usually moves the alz provider constraint too. See Foundation units.

ALZ and AMBA library refs

Two units set library_references on the alz provider.

Library Ref Set in
platform/alz 2026.10.0 landing-zones
platform/amba 2026.10.0 amba

Each library is set in one unit. amba does not load platform/alz: the AMBA library declares no dependencies, so a platform/alz bump touches landing-zones only. In landing-zones the vendored baseline library is the second and last entry, a custom_url with no ref. It lives in the repository, so you edit it in place rather than bumping it.

Do not go below platform/amba 2026.10.0: Azure rejects four policy sets in earlier releases (Azure/azure-monitor-baseline-alerts#936; see the foundation units).

Re-sync the vendored architecture on every platform/alz bump

live/_foundation/landing-zones/lib/architecture_definitions/baseline.alz_architecture_definition.json is a full copy of the stock alz architecture with one change on the intermediate root: baseline_root in place of root, plus the baseline_tags archetype. The module needs a complete architecture, so the whole hierarchy is duplicated there.

When you bump the platform/alz ref, fetch the stock architecture at the new version, diff it against that file, apply any hierarchy changes upstream made, and keep baseline_root and baseline_tags on the root. Nothing tracks this. No test fails and no plan warns if the hierarchy has moved on. Put the re-sync in the same pull request as the ref bump.

See the vendored policy library.

Checking for updates

Engine releases live on the GitHub releases page of the public nrit-solutions/tfpr repository, with the release notes and the runtime assets. The notes are generated from the same commits as the engine's changelog, so they are the record of what changed and what a consumer must do about it.

AVM module versions come from the Terraform registry. The ALZ and AMBA library refs come from the upstream Azure Landing Zones library releases.