Avm.Authoring

0.10.5

Cross-platform PowerShell 7 CLI that consolidates the authoring and CI tooling for Azure Verified Modules (https://aka.ms/avm). A single avm command (alias: avm) works across both ecosystems and ships: environment diagnostics (avm version, avm doctor); a checksum-pinned managed-tool resolver (avm tool list/which/install) that downloads and verifies the exact terraform
Cross-platform PowerShell 7 CLI that consolidates the authoring and CI tooling for Azure Verified Modules (https://aka.ms/avm). A single avm command (alias: avm) works across both ecosystems and ships: environment diagnostics (avm version, avm doctor); a checksum-pinned managed-tool resolver (avm tool list/which/install) that downloads and verifies the exact terraform, terraform-docs, tflint, conftest and mapotf binaries a module needs; and a fully wired Terraform authoring chain - avm pre-commit fixes and checks a module locally (convention checks, HCL transforms via mapotf, terraform fmt and terraform-docs) while avm pr-check adds tflint, APRL/AVMSEC policy checks and terraform validate. No Docker, make or porch required. The Bicep facade is in active development. Requires PowerShell 7.4+ (Core). See https://github.com/Azure/azure-verified-modules-tools for status and docs.
Show more

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Avm.Authoring -RequiredVersion 0.10.5

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Avm.Authoring -Version 0.10.5

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Azure Verified Modules

Tags

Azure AVM AzureVerifiedModules Bicep Terraform Authoring CLI

Functions

Get-AvmAuthoringPlaceholder Get-AvmModuleContext Get-AvmTool Get-AvmVersion Install-AvmTool Invoke-Avm Invoke-AvmCheckConvention Invoke-AvmCheckPolicy Invoke-AvmDoctor Invoke-AvmDocs Invoke-AvmFormat Invoke-AvmLint Invoke-AvmPrCheck Invoke-AvmPreCommit Invoke-AvmSync Invoke-AvmTest Invoke-AvmTestE2e Invoke-AvmTestIntegration Invoke-AvmTestUnit Invoke-AvmTransform Update-AvmAuthoring

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

### Fixed

- `avm check convention` no longer reports `avm.tf.terraform-scopes-must-be-direct-children` against `.terraform` directories. `terraform init` populates `.terraform/modules/` with copies of external modules, and the scope walk read each copy as an authored Terraform root nested below `modules/` or `examples/`. Running `avm test unit` before `avm pr-check` in the same worktree was enough to fail the `check convention` step on gitignored build output the author did not write and could not move, and because the directories are correctly gitignored they never appear in `git status`. Stale ones persist across sessions, so the failure could surface days later against an unrelated change — it hit three different directories in one afternoon on `Azure/terraform-azurerm-avm-res-web-site`, reporting 9, 47 and roughly 19 errors. Scope discovery now prunes any path segment starting with `.` or named `node_modules`, which is the same exclusion `Get-AvmTerraformFile` and `Invoke-AvmTerraformTest` already applied, and the same rule now governs the `examples/*` and `modules/*` targets that `AppliesTo` expands into. See [#85](https://github.com/Azure/azure-verified-modules-tools/issues/85).

### Security

- Every GitHub Actions dependency is now pinned to a full-length commit SHA rather than a mutable tag, so a retagged upstream action cannot silently change what runs in the workflows that build, test and publish this module. Dependabot keeps the pins current and now waits 7 days before proposing an update, which shortens the window in which a compromised release would be adopted automatically. Thanks to @danfiedler-msft in [#87](https://github.com/Azure/azure-verified-modules-tools/pull/87).

FileList

Version History

Version Downloads Last updated
0.12.1 529 9/4/2026
0.12.0 212 9/4/2026
0.11.0 3,831 9/1/2026
0.10.5 (current version) 640 9/1/2026
0.10.4 4,660 8/27/2026
0.10.3 474 8/27/2026
0.10.2 642 8/26/2026
0.10.1 6,531 8/20/2026
0.10.0 46 8/20/2026
0.9.5 1,873 8/19/2026
0.9.4 978 8/18/2026
0.9.3 324 8/18/2026
0.9.2 248 8/18/2026
0.9.1 3,148 8/14/2026
0.9.0 1,083 8/13/2026
0.8.1 2,474 8/12/2026
0.8.0 579 8/11/2026
0.7.0 374 8/11/2026
0.6.0 261 8/11/2026
0.5.6 1,921 8/10/2026
0.5.5 123 8/10/2026
0.5.4 296 8/10/2026
0.5.3 163 8/10/2026
0.5.2 1,115 8/7/2026
0.5.1 6 8/7/2026
0.5.0 5 8/7/2026
0.4.3 5 8/7/2026
0.4.2 8 8/7/2026
0.4.1 5 8/7/2026
0.4.0 6 8/7/2026
0.3.0 10 8/7/2026
0.2.3 18 8/5/2026
0.2.2 22 8/4/2026
0.2.1 4 8/4/2026
0.2.0 6 8/4/2026
0.1.9 51 8/3/2026
0.1.8 12 8/3/2026
0.1.7 21 7/31/2026
0.1.6 15 7/31/2026
0.1.5 13 7/31/2026
0.1.4 18 7/30/2026
0.1.3 4 7/30/2026
0.1.0 45 6/23/2026
Show more