New to Claude Skills? Learn how to install them →

Ugithub on GitHub

Update AVM Modules in Bicep

OfficialFree

Easily update Azure Verified Modules in your Bicep files.

by github37.7k stars on github/awesome-copilot
1 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Update AVM Modules in Bicep does

The Update AVM Modules in Bicep skill automates the process of updating Azure Verified Modules (AVMs) to their latest versions within Bicep files. This skill is particularly useful for developers and DevOps engineers who manage infrastructure as code using Bicep and need to ensure they are using the most current and compliant versions of Azure resources. By streamlining the update process, this skill helps maintain best practices and reduces the risk of using outdated modules.

The skill operates by scanning the specified Bicep file to extract the current AVM modules and their versions. It then identifies all unique modules used in the file and checks for the latest versions available via the Microsoft Container Registry (MCR) API. By comparing the current versions with the latest, the skill determines which modules require updates, ensuring that only non-breaking changes are applied automatically. If any breaking changes are detected, the skill pauses for manual approval, allowing users to review and decide on the necessary updates.

After making the updates, the skill validates the Bicep file by running linting and build commands to ensure compliance with Azure standards. Finally, it presents the results in a clear table format, summarizing the updates made and any manual reviews needed. This structured output helps users quickly assess the changes and understand the impact of the updates on their infrastructure.

This skill is ideal for teams that frequently update their Azure resources and want to automate the maintenance of their Bicep templates. It minimizes manual effort and the potential for errors, making it a valuable addition to any cloud infrastructure management workflow.

When to use it

Use this skill when you need to ensure that your Bicep files are using the latest Azure Verified Modules without introducing breaking changes.

When not to use it

This skill may not be suitable for projects with highly customized Bicep files that require extensive manual updates or where breaking changes are expected.

What you can build with it

Regular Module Maintenance

Use this skill to routinely check and update Azure Verified Modules in your Bicep files as part of your DevOps pipeline.

Compliance Checks

When preparing for audits or compliance checks, utilize this skill to ensure that all Bicep files are using the latest, compliant module versions.

Automating Infrastructure Updates

Integrate this skill into your CI/CD workflow to automatically update Bicep files, reducing manual effort and potential errors.

How to install Update AVM Modules in Bicep

View source

1. Install with the skills CLI

npx skills add github/awesome-copilot/update-avm-modules-in-bicep --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by 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

Frequently asked questions about Update AVM Modules in Bicep

Similar skills