Skip to content

Commit 18dd0b0

Browse files
fix: Add additional allowed locations for AI service deployment
1 parent 0185648 commit 18dd0b0

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

infra/main.bicep

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ param solutionName string = 'kmgen'
2020
])
2121
param location string
2222

23+
@allowed([
24+
'australiaeast'
25+
'eastus'
26+
'eastus2'
27+
'francecentral'
28+
'japaneast'
29+
'swedencentral'
30+
'uksouth'
31+
'westus'
32+
'westus3'
33+
])
2334
@metadata({
2435
azd: {
2536
type: 'location'

infra/main.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.37.4.10188",
9-
"templateHash": "3826453715287152928"
9+
"templateHash": "17695555559389154136"
1010
}
1111
},
1212
"parameters": {
@@ -40,6 +40,17 @@
4040
},
4141
"aiServiceLocation": {
4242
"type": "string",
43+
"allowedValues": [
44+
"australiaeast",
45+
"eastus",
46+
"eastus2",
47+
"francecentral",
48+
"japaneast",
49+
"swedencentral",
50+
"uksouth",
51+
"westus",
52+
"westus3"
53+
],
4354
"metadata": {
4455
"azd": {
4556
"type": "location",
@@ -32820,9 +32831,9 @@
3282032831
}
3282132832
},
3282232833
"dependsOn": [
32823-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
32824-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3282532834
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
32835+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
32836+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
3282632837
"logAnalyticsWorkspace",
3282732838
"network",
3282832839
"userAssignedIdentity"
@@ -35149,8 +35160,8 @@
3514935160
},
3515035161
"dependsOn": [
3515135162
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
35152-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3515335163
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
35164+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3515435165
"logAnalyticsWorkspace",
3515535166
"network",
3515635167
"userAssignedIdentity"
@@ -43515,8 +43526,8 @@
4351543526
},
4351643527
"dependsOn": [
4351743528
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
43518-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
4351943529
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageDfs)]",
43530+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
4352043531
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
4352143532
"network",
4352243533
"userAssignedIdentity"

0 commit comments

Comments
 (0)