Skip to content

Commit 705bd66

Browse files
Merge pull request #827 from microsoft/AVM_Bicep_Versions_Update_Akhileswara
fix: update API versions and avm
2 parents 5125900 + 33d2474 commit 705bd66

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ var existingTags = existingResourceGroup.tags ?? {}
285285
// ============== //
286286

287287
#disable-next-line no-deployments-resources
288-
resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry) {
288+
resource avmTelemetry 'Microsoft.Resources/deployments@2025-04-01' = if (enableTelemetry) {
289289
name: '46d3xbcp.ptn.sa-contentgeneration.${replace('-..--..-', '.', '-')}.${substring(uniqueString(deployment().name, solutionLocation), 0, 4)}'
290290
properties: {
291291
mode: 'Incremental'

infra/main.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.42.1.51946",
9-
"templateHash": "3873041626013848627"
9+
"templateHash": "12441959736083561218"
1010
},
1111
"name": "Intelligent Content Generation Accelerator",
1212
"description": "Solution Accelerator for multimodal marketing content generation using Microsoft Agent Framework.\n"
@@ -399,7 +399,7 @@
399399
"avmTelemetry": {
400400
"condition": "[parameters('enableTelemetry')]",
401401
"type": "Microsoft.Resources/deployments",
402-
"apiVersion": "2024-03-01",
402+
"apiVersion": "2025-04-01",
403403
"name": "[format('46d3xbcp.ptn.sa-contentgeneration.{0}.{1}', replace('-..--..-', '.', '-'), substring(uniqueString(deployment().name, variables('solutionLocation')), 0, 4))]",
404404
"properties": {
405405
"mode": "Incremental",
@@ -42363,7 +42363,7 @@
4236342363
"_generator": {
4236442364
"name": "bicep",
4236542365
"version": "0.42.1.51946",
42366-
"templateHash": "2970127717844929527"
42366+
"templateHash": "18300393946144087310"
4236742367
}
4236842368
},
4236942369
"definitions": {
@@ -43402,7 +43402,7 @@
4340243402
"_generator": {
4340343403
"name": "bicep",
4340443404
"version": "0.42.1.51946",
43405-
"templateHash": "12846584330925464650"
43405+
"templateHash": "1934732677721164061"
4340643406
},
4340743407
"name": "Site App Settings",
4340843408
"description": "This module deploys a Site App Setting."
@@ -43500,7 +43500,7 @@
4350043500
"condition": "[not(empty(parameters('storageAccountResourceId')))]",
4350143501
"existing": true,
4350243502
"type": "Microsoft.Storage/storageAccounts",
43503-
"apiVersion": "2025-06-01",
43503+
"apiVersion": "2025-08-01",
4350443504
"subscriptionId": "[split(parameters('storageAccountResourceId'), '/')[2]]",
4350543505
"resourceGroup": "[split(parameters('storageAccountResourceId'), '/')[4]]",
4350643506
"name": "[last(split(parameters('storageAccountResourceId'), '/'))]"
@@ -43515,7 +43515,7 @@
4351543515
"type": "Microsoft.Web/sites/config",
4351643516
"apiVersion": "2025-03-01",
4351743517
"name": "[format('{0}/{1}', parameters('appName'), parameters('name'))]",
43518-
"properties": "[union(parameters('properties'), parameters('currentAppSettings'), if(and(not(empty(parameters('storageAccountResourceId'))), not(parameters('storageAccountUseIdentityAuthentication'))), createObject('AzureWebJobsStorage', format('DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};EndpointSuffix={2}', last(split(parameters('storageAccountResourceId'), '/')), listKeys('storageAccount', '2025-06-01').keys[0].value, environment().suffixes.storage)), if(and(not(empty(parameters('storageAccountResourceId'))), parameters('storageAccountUseIdentityAuthentication')), createObject('AzureWebJobsStorage__accountName', last(split(parameters('storageAccountResourceId'), '/')), 'AzureWebJobsStorage__blobServiceUri', reference('storageAccount').primaryEndpoints.blob, 'AzureWebJobsStorage__queueServiceUri', reference('storageAccount').primaryEndpoints.queue, 'AzureWebJobsStorage__tableServiceUri', reference('storageAccount').primaryEndpoints.table), createObject())), if(not(empty(parameters('applicationInsightResourceId'))), createObject('APPLICATIONINSIGHTS_CONNECTION_STRING', reference('applicationInsights').ConnectionString), createObject()), variables('loggingProperties'))]",
43518+
"properties": "[union(parameters('properties'), parameters('currentAppSettings'), if(and(not(empty(parameters('storageAccountResourceId'))), not(parameters('storageAccountUseIdentityAuthentication'))), createObject('AzureWebJobsStorage', format('DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};EndpointSuffix={2}', last(split(parameters('storageAccountResourceId'), '/')), listKeys('storageAccount', '2025-08-01').keys[0].value, environment().suffixes.storage)), if(and(not(empty(parameters('storageAccountResourceId'))), parameters('storageAccountUseIdentityAuthentication')), createObject('AzureWebJobsStorage__accountName', last(split(parameters('storageAccountResourceId'), '/')), 'AzureWebJobsStorage__blobServiceUri', reference('storageAccount').primaryEndpoints.blob, 'AzureWebJobsStorage__queueServiceUri', reference('storageAccount').primaryEndpoints.queue, 'AzureWebJobsStorage__tableServiceUri', reference('storageAccount').primaryEndpoints.table), createObject())), if(not(empty(parameters('applicationInsightResourceId'))), createObject('APPLICATIONINSIGHTS_CONNECTION_STRING', reference('applicationInsights').ConnectionString), createObject()), variables('loggingProperties'))]",
4351943519
"dependsOn": [
4352043520
"applicationInsights",
4352143521
"storageAccount"

infra/main_custom.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var existingTags = existingResourceGroup.tags ?? {}
294294
// ============== //
295295

296296
#disable-next-line no-deployments-resources
297-
resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry) {
297+
resource avmTelemetry 'Microsoft.Resources/deployments@2025-04-01' = if (enableTelemetry) {
298298
name: '46d3xbcp.ptn.sa-contentgeneration.${replace('-..--..-', '.', '-')}.${substring(uniqueString(deployment().name, solutionLocation), 0, 4)}'
299299
properties: {
300300
mode: 'Incremental'
@@ -1016,7 +1016,7 @@ var userAssignedIdentityResourceIdForACI = '/subscriptions/${subscription().subs
10161016
var shouldDeployACI = !empty(imageTag) && imageTag != 'none'
10171017

10181018
#disable-next-line no-deployments-resources
1019-
resource aciTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry && shouldDeployACI) {
1019+
resource aciTelemetry 'Microsoft.Resources/deployments@2025-04-01' = if (enableTelemetry && shouldDeployACI) {
10201020
name: '46d3xbcp.res.containerinstance.${replace('-..--..-', '.', '-')}.${substring(uniqueString(deployment().name, solutionLocation), 0, 4)}'
10211021
properties: {
10221022
mode: 'Incremental'

infra/modules/web-sites.config.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ resource applicationInsights 'Microsoft.Insights/components@2020-02-02' existing
9696
scope: resourceGroup(split(applicationInsightResourceId!, '/')[2], split(applicationInsightResourceId!, '/')[4])
9797
}
9898

99-
resource storageAccount 'Microsoft.Storage/storageAccounts@2025-06-01' existing = if (!empty(storageAccountResourceId)) {
99+
resource storageAccount 'Microsoft.Storage/storageAccounts@2025-08-01' existing = if (!empty(storageAccountResourceId)) {
100100
name: last(split(storageAccountResourceId!, '/'))
101101
scope: resourceGroup(split(storageAccountResourceId!, '/')[2], split(storageAccountResourceId!, '/')[4])
102102
}

0 commit comments

Comments
 (0)