Update AVM Modules in Bicep

Update AVM Modules in Bicep

Updates Azure Verified Modules in a Bicep file to their latest versions, pausing for approval on breaking changes and reporting the result in a table.

Skill files1 file
SKILL.md61 lines
1
---
2
name: update-avm-modules-in-bicep
3
description: 'Update Azure Verified Modules (AVM) to latest versions in Bicep files.'
4
---
5
6
# Update Azure Verified Modules in Bicep Files
7
8
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.
9
10
## Process
11
12
1. **Scan**: Extract AVM modules and current versions from `${file}`
13
1. **Identify**: List all unique AVM modules used by matching `avm/res/{service}/{resource}` using `#search` tool
14
1. **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`
15
1. **Compare**: Parse semantic versions to identify AVM modules needing update
16
1. **Review**: For breaking changes, use `#fetch` tool to get docs from: `https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}`
17
1. **Update**: Apply version updates and parameter changes using `#editFiles` tool
18
1. **Validate**: Run `bicep lint` and `bicep build` using `#runCommands` tool to ensure compliance.
19
1. **Output**: Summarize changes in a table format with summary of updates below.
20
21
## Tool Usage
22
23
Always use tools `#search`, `#searchResults`,`#fetch`, `#editFiles`, `#runCommands`, `#todos` if available. Avoid writing code to perform tasks.
24
25
## Breaking Change Policy
26
27
⚠️ **PAUSE for approval** if updates involve:
28
29
- Incompatible parameter changes
30
- Security/compliance modifications
31
- Behavioral changes
32
33
## Output Format
34
35
Only display results in table with icons:
36
37
```markdown
38
| Module | Current | Latest | Status | Action | Docs |
39
|--------|---------|--------|--------|--------|------|
40
| avm/res/compute/vm | 0.1.0 | 0.2.0 | 🔄 | Updated | [📖](link) |
41
| avm/res/storage/account | 0.3.0 | 0.3.0 | ✅ | Current | [📖](link) |
42
43
### Summary of Updates
44
45
Describe updates made, any manual reviews needed or issues encountered.
46
```
47
48
## Icons
49
50
- 🔄 Updated
51
- ✅ Current
52
- ⚠️ Manual review required
53
- ❌ Failed
54
- 📖 Documentation
55
56
## Requirements
57
58
- Use MCR tags API only for version discovery
59
- Parse JSON tags array and sort by semantic versioning
60
- Maintain Bicep file validity and linting compliance
61

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…