mode
agent
description
Update Azure Verified Modules (AVM) to latest versions in Bicep files.
tools
changes
codebase
editFiles
fetch
runCommands
azure_get_deployment_best_practices
azure_get_schema_for_Bicep
Update Azure Verified Modules in Bicep Files
Update Bicep file ${file} to use latest Azure Verified Module (AVM) versions.
Scan : Extract AVM modules and current versions from ${file}
Check : Fetch latest versions from MCR: https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list
Compare : Parse semantic versions to identify updates
Review : For breaking changes, fetch docs from: https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}
Update : Apply version updates and parameter changes
Validate : Run bicep lint to ensure compliance
⚠️ PAUSE for approval if updates involve:
Incompatible parameter changes
Security/compliance modifications
Behavioral changes
Display results in table with icons:
Module
Current
Latest
Status
Action
Docs
avm/res/compute/vm
0.1.0
0.2.0
🔄
Updated
📖
avm/res/storage/account
0.3.0
0.3.0
✅
Current
📖
🔄 Updated
✅ Current
⚠️ Manual review required
❌ Failed
📖 Documentation
Use MCR tags API only for version discovery
Parse JSON tags array and sort by semantic versioning
Maintain Bicep file validity and linting compliance