Skip to content

Commit b4f17b5

Browse files
Merge pull request #446 from microsoft/codemod-versionupgrade-1106
fix: update GPT model version to 2024-11-20 across configuration files
2 parents b22f284 + f0712d3 commit b4f17b5

4 files changed

Lines changed: 35 additions & 35 deletions

File tree

docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ By default this template will use the environment name as the prefix to prevent
1313
| `AZURE_ENV_AI_SERVICE_LOCATION` | string | `<User selects during deployment>` | Location of the Azure resources. Controls where the Azure AI Services will be deployed. |
1414
| `AZURE_ENV_MODEL_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Change the Model Deployment Type (allowed values: Standard, GlobalStandard). |
1515
| `AZURE_ENV_GPT_MODEL_NAME` | string | `gpt-4o` | Set the Model Name (allowed values: gpt-4o). |
16-
| `AZURE_ENV_GPT_MODEL_VERSION` | string | `2024-08-06` | Set the Azure model version (allowed values: 2024-08-06) |
16+
| `AZURE_ENV_GPT_MODEL_VERSION` | string | `2024-11-20` | Set the Azure model version (allowed values: 2024-11-20) |
1717
| `AZURE_ENV_GPT_MODEL_CAPACITY` | integer | `150` | Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). |
18-
| `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
18+
| `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
1919
| `AZURE_ENV_IMAGE_TAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
2020
| `AZURE_ENV_VM_SIZE` | string | `Standard_D2s_v5` | Specifies the size of the Jumpbox Virtual Machine (e.g., `Standard_D2s_v5`, `Standard_D2s_v4`). Set a custom value if `enablePrivateNetworking` is `true`. |
2121
| `AZURE_ENV_JUMPBOX_ADMIN_USERNAME` | string | `JumpboxAdminUser` | Specifies the administrator username for the Jumpbox Virtual Machine. |

infra/main.bicep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ param imageTag string = 'latest_2025-11-10_599'
109109
param containerRegistryEndpoint string = 'cmsacontainerreg.azurecr.io'
110110

111111
@minLength(1)
112-
@description('Optional. Version of the GPT model to deploy. Defaults to 2024-08-06.')
113-
param gptModelVersion string = '2024-08-06'
112+
@description('Optional. Version of the GPT model to deploy. Defaults to 2024-11-20.')
113+
param gptModelVersion string = '2024-11-20'
114114

115115
@description('Optional. Use this parameter to use an existing AI project resource ID. Defaults to empty string.')
116116
param existingFoundryProjectResourceId string = ''
@@ -778,7 +778,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = {
778778
{
779779
principalId: appIdentity.outputs.principalId
780780
principalType: 'ServicePrincipal'
781-
roleDefinitionIdOrName: 'Cognitive Services OpenAI Contributor'
781+
roleDefinitionIdOrName: '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd' // Cognitive Services OpenAI User
782782
}
783783
{
784784
principalId: appIdentity.outputs.principalId
@@ -867,7 +867,7 @@ module storageAccount 'modules/storageAccount.bicep' = {
867867
{
868868
principalId: appIdentity.outputs.principalId
869869
principalType: 'ServicePrincipal'
870-
roleDefinitionIdOrName: 'Storage Blob Data Contributor'
870+
roleDefinitionIdOrName: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe' // Storage Blob Data Contributor
871871
}
872872
]
873873
enableTelemetry: enableTelemetry

infra/main.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.42.1.51946",
9-
"templateHash": "18156607440911418905"
8+
"version": "0.44.1.10279",
9+
"templateHash": "3504230210727330834"
1010
},
1111
"name": "Modernize Your Code Solution Accelerator",
1212
"description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n"
@@ -174,10 +174,10 @@
174174
},
175175
"gptModelVersion": {
176176
"type": "string",
177-
"defaultValue": "2024-08-06",
177+
"defaultValue": "2024-11-20",
178178
"minLength": 1,
179179
"metadata": {
180-
"description": "Optional. Version of the GPT model to deploy. Defaults to 2024-08-06."
180+
"description": "Optional. Version of the GPT model to deploy. Defaults to 2024-11-20."
181181
}
182182
},
183183
"existingFoundryProjectResourceId": {
@@ -5093,8 +5093,8 @@
50935093
"metadata": {
50945094
"_generator": {
50955095
"name": "bicep",
5096-
"version": "0.42.1.51946",
5097-
"templateHash": "15922750226218572834"
5096+
"version": "0.44.1.10279",
5097+
"templateHash": "12666388833640590711"
50985098
}
50995099
},
51005100
"definitions": {
@@ -13102,10 +13102,10 @@
1310213102
"dependsOn": [
1310313103
"applicationInsights",
1310413104
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
13105-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
13106-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
13107-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
1310813105
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]",
13106+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
13107+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
13108+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
1310913109
"dataCollectionEndpoint",
1311013110
"logAnalyticsWorkspace",
1311113111
"virtualNetwork"
@@ -26161,7 +26161,7 @@
2616126161
{
2616226162
"principalId": "[reference('appIdentity').outputs.principalId.value]",
2616326163
"principalType": "ServicePrincipal",
26164-
"roleDefinitionIdOrName": "Cognitive Services OpenAI Contributor"
26164+
"roleDefinitionIdOrName": "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd"
2616526165
},
2616626166
{
2616726167
"principalId": "[reference('appIdentity').outputs.principalId.value]",
@@ -26189,8 +26189,8 @@
2618926189
"metadata": {
2619026190
"_generator": {
2619126191
"name": "bicep",
26192-
"version": "0.42.1.51946",
26193-
"templateHash": "7788164101952925462"
26192+
"version": "0.44.1.10279",
26193+
"templateHash": "7796390788683636674"
2619426194
},
2619526195
"name": "AI Services and Project Module",
2619626196
"description": "This module creates an AI Services resource and an AI Foundry project within it. It supports private networking, OpenAI deployments, and role assignments."
@@ -27487,8 +27487,8 @@
2748727487
"metadata": {
2748827488
"_generator": {
2748927489
"name": "bicep",
27490-
"version": "0.42.1.51946",
27491-
"templateHash": "3451497265231138743"
27490+
"version": "0.44.1.10279",
27491+
"templateHash": "15798298565583456780"
2749227492
}
2749327493
},
2749427494
"definitions": {
@@ -29197,8 +29197,8 @@
2919729197
"metadata": {
2919829198
"_generator": {
2919929199
"name": "bicep",
29200-
"version": "0.42.1.51946",
29201-
"templateHash": "6439859910553532577"
29200+
"version": "0.44.1.10279",
29201+
"templateHash": "13008301984486295222"
2920229202
}
2920329203
},
2920429204
"definitions": {
@@ -29412,8 +29412,8 @@
2941229412
"metadata": {
2941329413
"_generator": {
2941429414
"name": "bicep",
29415-
"version": "0.42.1.51946",
29416-
"templateHash": "3451497265231138743"
29415+
"version": "0.44.1.10279",
29416+
"templateHash": "15798298565583456780"
2941729417
}
2941829418
},
2941929419
"definitions": {
@@ -31122,8 +31122,8 @@
3112231122
"metadata": {
3112331123
"_generator": {
3112431124
"name": "bicep",
31125-
"version": "0.42.1.51946",
31126-
"templateHash": "6439859910553532577"
31125+
"version": "0.44.1.10279",
31126+
"templateHash": "13008301984486295222"
3112731127
}
3112831128
},
3112931129
"definitions": {
@@ -32081,7 +32081,7 @@
3208132081
{
3208232082
"principalId": "[reference('appIdentity').outputs.principalId.value]",
3208332083
"principalType": "ServicePrincipal",
32084-
"roleDefinitionIdOrName": "Storage Blob Data Contributor"
32084+
"roleDefinitionIdOrName": "ba92f5b4-2d11-453d-a403-e96b0029c9fe"
3208532085
}
3208632086
]
3208732087
},
@@ -32096,8 +32096,8 @@
3209632096
"metadata": {
3209732097
"_generator": {
3209832098
"name": "bicep",
32099-
"version": "0.42.1.51946",
32100-
"templateHash": "15460841004653840446"
32099+
"version": "0.44.1.10279",
32100+
"templateHash": "17237339939537137976"
3210132101
}
3210232102
},
3210332103
"definitions": {
@@ -40550,8 +40550,8 @@
4055040550
"metadata": {
4055140551
"_generator": {
4055240552
"name": "bicep",
40553-
"version": "0.42.1.51946",
40554-
"templateHash": "9745767047675020484"
40553+
"version": "0.44.1.10279",
40554+
"templateHash": "8524856574515803596"
4055540555
}
4055640556
},
4055740557
"definitions": {

infra/main_custom.bicep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ param frontendImageName string = ''
111111
param imageTag string = 'latest'
112112

113113
@minLength(1)
114-
@description('Optional. Version of the GPT model to deploy. Defaults to 2024-08-06.')
115-
param gptModelVersion string = '2024-08-06'
114+
@description('Optional. Version of the GPT model to deploy. Defaults to 2024-11-20.')
115+
param gptModelVersion string = '2024-11-20'
116116

117117
@description('Optional. Use this parameter to use an existing AI project resource ID. Defaults to empty string.')
118118
param existingFoundryProjectResourceId string = ''
@@ -687,7 +687,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = {
687687
{
688688
principalId: appIdentity.outputs.principalId
689689
principalType: 'ServicePrincipal'
690-
roleDefinitionIdOrName: 'Cognitive Services OpenAI Contributor'
690+
roleDefinitionIdOrName: '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd' // Cognitive Services OpenAI User
691691
}
692692
{
693693
principalId: appIdentity.outputs.principalId
@@ -776,7 +776,7 @@ module storageAccount 'modules/storageAccount.bicep' = {
776776
{
777777
principalId: appIdentity.outputs.principalId
778778
principalType: 'ServicePrincipal'
779-
roleDefinitionIdOrName: 'Storage Blob Data Contributor'
779+
roleDefinitionIdOrName: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe' // Storage Blob Data Contributor
780780
}
781781
]
782782
enableTelemetry: enableTelemetry

0 commit comments

Comments
 (0)