You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Refined the process for updating Azure Verified Modules in Bicep files.
- Added steps to identify unique AVM modules and validate updates.
- Enhanced tool usage guidelines for better clarity.
- Improved output format specifications for summarizing changes.
Update Bicep file `${file}` to use latest Azure Verified Module (AVM) versions.
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 outout table and summary.
9
9
10
10
## Process
11
11
12
12
1.**Scan**: Extract AVM modules and current versions from `${file}`
13
-
2.**Check**: Fetch latest versions from MCR: `https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list`
14
-
3.**Compare**: Parse semantic versions to identify updates
15
-
4.**Review**: For breaking changes, fetch docs from: `https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}`
16
-
5.**Update**: Apply version updates and parameter changes
17
-
6.**Validate**: Run `bicep lint` to ensure compliance
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.
18
24
19
25
## Breaking Change Policy
20
26
@@ -26,13 +32,19 @@ Update Bicep file `${file}` to use latest Azure Verified Module (AVM) versions.
26
32
27
33
## Output Format
28
34
29
-
Display results in table with icons:
35
+
Only display results in table with icons:
30
36
37
+
```markdown
31
38
| Module | Current | Latest | Status | Action | Docs |
0 commit comments