fix: Update AVM & Bicep modules and resource versions #193
fix: Update AVM & Bicep modules and resource versions #193Akhileswara-Microsoft wants to merge 5 commits intodevfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR modernizes the solution’s IaC by upgrading AVM Bicep module versions and Azure resource API versions, aiming to align deployments with newer Azure/AVM schemas and best practices.
Changes:
- Bump multiple AVM modules (networking, storage, Cosmos DB, Container Apps, Bastion, identity, monitoring) to newer versions.
- Update several ARM resource API versions (e.g., Log Analytics workspace, Cognitive Services resources, tags).
- Adjust parameter/property names to match updated module contracts (e.g.,
availabilityZones,availabilityZone, Cosmos failover/role definition properties, Container Apps logging config).
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| infra/modules/virtualNetwork.bicep | Updates AVM module versions for NSG and VNet. |
| infra/modules/storageAccount.bicep | Updates AVM common types + storage account module version. |
| infra/modules/role.bicep | Updates Cognitive Services API version for existing account reference. |
| infra/modules/cosmosDb.bicep | Updates AVM common types, Cosmos role definition API version, and Cosmos AVM module version. |
| infra/modules/ai-services-deployments.bicep | Updates AVM common types and Cognitive Services API versions (account + deployments). |
| infra/modules/ai-project.bicep | Updates Cognitive Services API versions for projects. |
| infra/main_custom.bicep | Upgrades AVM modules and updates several schema-aligned parameters in the “custom” main template. |
| infra/main.bicep | Upgrades AVM modules and updates several schema-aligned parameters in the primary main template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ices - Updated cognitive services API version from 2025-06-01 to 2025-12-01 in ai-project.bicep, ai-services-deployments.bicep, and role.bicep. - Updated cognitive services deployments API version from 2024-10-01 to 2025-12-01 in ai-services-deployments.bicep. - Updated SQL role definitions API version from 2024-11-15 to 2025-10-15 in cosmosDb.bicep. - Updated role assignment type import version from 0.5.1 to 0.7.0 in ai-services-deployments.bicep, cosmosDb.bicep, and storageAccount.bicep. - Updated storage account module version from 0.26.2 to 0.32.0 in storageAccount.bicep. - Updated network security group module version from 0.5.1 to 0.5.3 and virtual network module version from 0.7.0 to 0.8.0 in virtualNetwork.bicep.
…ance and flexibility
…ole assignments in Cosmos DB module; remove delete retention policy from Storage Account module
9ca8743 to
f534c09
Compare
|
@copilot resolve the merge conflicts in this pull request |
…e versions and add new Cosmos DB container variable Co-authored-by: Akhileswara-Microsoft <234037885+Akhileswara-Microsoft@users.noreply.github.com>
Merge conflicts have been resolved in commit The conflicts were in
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Purpose
This pull request updates the infrastructure as code for the solution accelerator, focusing on modernizing resource definitions, upgrading AVM module versions, and improving compatibility with current Azure best practices. The main changes include updating module versions, resource API versions, and aligning parameters with the latest standards.
These updates collectively ensure the solution remains compatible with the latest Azure platform features and best practices, while improving maintainability and future-proofing the deployment scripts.
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation