update-avm-modules-in-bicep
Updates Azure Verified Modules (AVM) to the latest versions in Bicep files.
What it does
This agent automatically updates Azure code modules (called AVMs) in your Bicep files to their latest versions. It checks for updates and applies them, ensuring your code stays current with the latest features and fixes.
When to use it
- ✓When you want to ensure your Bicep files use the latest versions of Azure modules.
- ✓If you need to update multiple modules at once without doing it manually.
- ✓To keep your Azure code up-to-date and secure with the latest patches.
Example of what to ask your AI
“Update AVM modules in my 'network.bicep' file to the latest versions.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The agent first checks which Azure modules you are using in your file. Then, it looks for the newest available versions and, if found, automatically updates your file. It only does this for non-breaking changes unless it asks for your permission for major changes.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add github/awesome-copilot --skill update-avm-modules-in-bicepOr download just the file:
curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/update-avm-modules-in-bicep/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Update Azure Verified Modules in Bicep Files
Update Bicep file ${file} to use latest Azure Verified Module (AVM) versions. Limit progress updates to non-breaking changes. Don't output information other than the final output table and summary.
Process
- Scan: Extract AVM modules and current versions from
${file} - Identify: List all unique AVM modules used by matching
avm/res/{service}/{resource}using#searchtool - Check: Use
#fetchtool to get latest version of each AVM module from MCR:https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list - Compare: Parse semantic versions to identify AVM modules needing update
- Review: For breaking changes, use
#fetchtool to get docs from:https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource} - Update: Apply version updates and parameter changes using
#editFilestool - Validate: Run
bicep lintandbicep buildusing#runCommandstool to ensure compliance. - Output: Summarize changes in a table format with summary of updates below.
Tool Usage
Always use tools #search, #searchResults,#fetch, #editFiles, #runCommands, #todos if available. Avoid writing code to perform tasks.
Breaking Change Policy
⚠️ PAUSE for approval if updates involve:
- Incompatible parameter changes
- Security/compliance modifications
- Behavioral changes
Output Format
Only display results in table with icons:
| Module | Current | Latest | Status | Action | Docs |
|--------|---------|--------|--------|--------|------|
| avm/res/compute/vm | 0.1.0 | 0.2.0 | 🔄 | Updated | [📖](link) |
| avm/res/storage/account | 0.3.0 | 0.3.0 | ✅ | Current | [📖](link) |
### Summary of Updates
Describe updates made, any manual reviews needed or issues encountered.
Icons
- 🔄 Updated
- ✅ Current
- ⚠️ Manual review required
- ❌ Failed
- 📖 Documentation
Requirements
- Use MCR tags API only for version discovery
- Parse JSON tags array and sort by semantic versioning
- Maintain Bicep file validity and linting compliance
FAQ
What are AVM modules?
AVM modules are pre-built code blocks by Azure to help you deploy resources in a standardized and efficient way.
What happens if an update might break my code?
If an update is considered a 'breaking change' (it might affect how your code works), the agent will pause and ask for your permission before making the change.
How do I know which modules were updated?
The agent will present a table showing the modules, the old version, the new version, and the update status, along with a summary of the changes.
Details
Original description by the author
Update Azure Verified Modules (AVM) to latest versions in Bicep files.
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #5405
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
Helps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
github/awesome-copilot
acreadiness-assess
Enables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
github/awesome-copilot
acreadiness-generate-instructions
Helps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
github/awesome-copilot
acreadiness-policy
Enables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
github/awesome-copilot
Similar skills
bun-runtime
Has your agent use Bun to run, organize, and test code. It helps choose Bun over other tools and migrate existing projects.
affaan-m/ECC
database-migrations
Helps your agent make safe changes to databases. It ensures changes can be undone and minimizes downtime.
affaan-m/ECC
deployment-patterns
Sets up deployment and CI/CD workflows, containerization, and rollback strategies to ensure safe releases.
affaan-m/ECC