Skip to content

Commit 6d0516f

Browse files
Update Azure resource API versions and module dependencies to latest stable releases
1 parent b41a61a commit 6d0516f

File tree

6 files changed

+65
-44
lines changed

6 files changed

+65
-44
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ module logAnalyticsWorkspace 'modules/log-analytics-workspace.bicep' = if (enabl
546546
}
547547
}
548548

549-
module applicationInsights 'br/public:avm/res/insights/component:0.6.1' = if (enableMonitoring) {
549+
module applicationInsights 'br/public:avm/res/insights/component:0.7.0' = if (enableMonitoring) {
550550
name: take('avm.res.insights.component.${solutionSuffix}', 64)
551551
params: {
552552
name: 'appi-${solutionSuffix}'

infra/main.json

Lines changed: 55 additions & 34 deletions
Large diffs are not rendered by default.

infra/modules/account/aifoundry.bicep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,14 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
177177
}
178178
}
179179

180-
resource cMKKeyVault 'Microsoft.KeyVault/vaults@2023-07-01' existing = if (!empty(customerManagedKey.?keyVaultResourceId)) {
180+
resource cMKKeyVault 'Microsoft.KeyVault/vaults@2025-05-01' existing = if (!empty(customerManagedKey.?keyVaultResourceId)) {
181181
name: last(split(customerManagedKey.?keyVaultResourceId!, '/'))
182182
scope: resourceGroup(
183183
split(customerManagedKey.?keyVaultResourceId!, '/')[2],
184184
split(customerManagedKey.?keyVaultResourceId!, '/')[4]
185185
)
186186

187-
resource cMKKey 'keys@2023-07-01' existing = if (!empty(customerManagedKey.?keyVaultResourceId) && !empty(customerManagedKey.?keyName)) {
187+
resource cMKKey 'keys@2025-05-01' existing = if (!empty(customerManagedKey.?keyVaultResourceId) && !empty(customerManagedKey.?keyName)) {
188188
name: customerManagedKey.?keyName!
189189
}
190190
}
@@ -199,7 +199,7 @@ resource cMKUserAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentiti
199199

200200
var useExistingService = !empty(existingFoundryProjectResourceId)
201201

202-
resource cognitiveServiceNew 'Microsoft.CognitiveServices/accounts@2025-04-01-preview' = if(!useExistingService) {
202+
resource cognitiveServiceNew 'Microsoft.CognitiveServices/accounts@2025-07-01-preview' = if(!useExistingService) {
203203
name: name
204204
kind: kind
205205
identity: identity
@@ -249,7 +249,7 @@ resource cognitiveServiceNew 'Microsoft.CognitiveServices/accounts@2025-04-01-pr
249249

250250
var existingCognitiveServiceDetails = split(existingFoundryProjectResourceId, '/')
251251

252-
resource cognitiveServiceExisting 'Microsoft.CognitiveServices/accounts@2025-04-01-preview' existing = if(useExistingService) {
252+
resource cognitiveServiceExisting 'Microsoft.CognitiveServices/accounts@2025-07-01-preview' existing = if(useExistingService) {
253253
name: existingCognitiveServiceDetails[8]
254254
scope: resourceGroup(existingCognitiveServiceDetails[2], existingCognitiveServiceDetails[4])
255255
}

infra/modules/account/modules/dependencies.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ var formattedRoleAssignments = [
187187

188188
var enableReferencedModulesTelemetry = false
189189

190-
resource cognitiveService 'Microsoft.CognitiveServices/accounts@2025-04-01-preview' existing = {
190+
resource cognitiveService 'Microsoft.CognitiveServices/accounts@2025-07-01-preview' existing = {
191191
name: name
192192
}
193193

194194
@batchSize(1)
195-
resource cognitiveService_deployments 'Microsoft.CognitiveServices/accounts/deployments@2025-04-01-preview' = [
195+
resource cognitiveService_deployments 'Microsoft.CognitiveServices/accounts/deployments@2025-07-01-preview' = [
196196
for (deployment, index) in (deployments ?? []): {
197197
parent: cognitiveService
198198
name: deployment.?name ?? '${name}-deployments'

infra/modules/account/modules/keyVaultExport.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ param secretsToSet secretToSetType[]
1313
// Resources //
1414
// ============= //
1515

16-
resource keyVault 'Microsoft.KeyVault/vaults@2023-07-01' existing = {
16+
resource keyVault 'Microsoft.KeyVault/vaults@2025-05-01' existing = {
1717
name: keyVaultName
1818
}
1919

20-
resource secrets 'Microsoft.KeyVault/vaults/secrets@2023-07-01' = [
20+
resource secrets 'Microsoft.KeyVault/vaults/secrets@2025-05-01' = [
2121
for secret in secretsToSet: {
2222
name: secret.name
2323
parent: keyVault

infra/modules/account/modules/project.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource cogServiceReference 'Microsoft.CognitiveServices/accounts@2024-10-01' e
2727
}
2828

2929
// Create new AI project only if not reusing existing one
30-
resource aiProject 'Microsoft.CognitiveServices/accounts/projects@2025-04-01-preview' = if(!useExistingProject) {
30+
resource aiProject 'Microsoft.CognitiveServices/accounts/projects@2025-07-01-preview' = if(!useExistingProject) {
3131
parent: cogServiceReference
3232
name: name
3333
tags: tags

0 commit comments

Comments
 (0)