ITADN
Azure/azure-verified-modules-tools
Azure/azure-verified-modules-tools · 文件
文件最后提交记录最后更新时间
README.md

Azure Verified Modules — Tools

Source for the Avm.Authoring PowerShell module: a single, cross-platform PowerShell 7 tool that consolidates the scripts and CI helpers used by authors of Azure Verified Modules (Bicep and Terraform).

One avm CLI, two ecosystems, no Docker / make / porch required for the wired verbs.

Install

The module is published to the PowerShell Gallery as Avm.Authoring. PowerShell 7.4+ is required.

# Modern — Microsoft.PowerShell.PSResourceGet (ships with PowerShell 7.4+)
Install-PSResource Avm.Authoring

# Classic — PowerShellGet v2
Install-Module Avm.Authoring -Scope CurrentUser

Then import it and confirm it loaded:

Import-Module Avm.Authoring
avm version

Heads-up. The Terraform authoring chain is wired and usable today; the Bicep facade is still in active development. Track the slice-level status in docs/progress.md. To run the latest in-development build, import it from a clone — see CONTRIBUTING.md.

Verify the signature

Every .ps1, .psm1 and .psd1 in a released build is Authenticode-signed by Microsoft. To check what you installed:

Get-ChildItem (Get-Module Avm.Authoring -ListAvailable).ModuleBase -Recurse -Include *.ps1, *.psm1, *.psd1 |
    Get-AuthenticodeSignature |
    Group-Object Status, { $_.SignerCertificate.Subject }

Expect a single group with status Valid and a Microsoft Corporation subject. Anything reporting NotSigned, HashMismatch or UnknownError means the file has been modified or came from somewhere other than the gallery.

The release .zip attached to each GitHub Release ships alongside a SHA256SUMS file:

(Get-FileHash ./Avm.Authoring-0.2.0.zip -Algorithm SHA256).Hash.ToLowerInvariant()
Get-Content ./SHA256SUMS

Learn more

License

MIT.