Skip to content
Skillpedia
Deploy & cloud (DevOps)40k · #5405

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

https://github.com/github/awesome-copilot/blob/main/skills/update-avm-modules-in-bicep/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/update-avm-modules-in-bicep/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
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-bicep

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/update-avm-modules-in-bicep/SKILL.md -o SKILL.md
Technical 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

  1. Scan: Extract AVM modules and current versions from ${file}
  2. Identify: List all unique AVM modules used by matching avm/res/{service}/{resource} using #search tool
  3. Check: Use #fetch tool to get latest version of each AVM module from MCR: https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list
  4. Compare: Parse semantic versions to identify AVM modules needing update
  5. Review: For breaking changes, use #fetch tool to get docs from: https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}
  6. Update: Apply version updates and parameter changes using #editFiles tool
  7. Validate: Run bicep lint and bicep build using #runCommands tool to ensure compliance.
  8. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills