Skip to content

Commit f098dfb

Browse files
Merge pull request #717 from microsoft/rc-bicepfixmain
fix: added allowed regions for ai service location
2 parents 4bbe71b + 4eac702 commit f098dfb

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

content-gen/infra/main.bicep

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ param secondaryLocation string = 'uksouth'
3838

3939
// NOTE: Metadata must be compile-time constants. Update usageName manually if you change model parameters.
4040
// Format: 'OpenAI.<DeploymentType>.<ModelName>,<Capacity>'
41+
// Allowed regions: Union of GPT-5.1, gpt-image-1, and gpt-image-1.5 GlobalStandard availability
42+
@allowed([
43+
'australiaeast'
44+
'canadaeast'
45+
'eastus2'
46+
'japaneast'
47+
'koreacentral'
48+
'polandcentral'
49+
'swedencentral'
50+
'switzerlandnorth'
51+
'uaenorth'
52+
'uksouth'
53+
'westus3'
54+
])
4155
@metadata({
4256
azd: {
4357
type: 'location'

content-gen/infra/main.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.40.2.10011",
9-
"templateHash": "8403017938611050215"
9+
"templateHash": "14662930066054172114"
1010
},
1111
"name": "Intelligent Content Generation Accelerator",
1212
"description": "Solution Accelerator for multimodal marketing content generation using Microsoft Agent Framework.\n"
@@ -62,6 +62,19 @@
6262
},
6363
"azureAiServiceLocation": {
6464
"type": "string",
65+
"allowedValues": [
66+
"australiaeast",
67+
"canadaeast",
68+
"eastus2",
69+
"japaneast",
70+
"koreacentral",
71+
"polandcentral",
72+
"swedencentral",
73+
"switzerlandnorth",
74+
"uaenorth",
75+
"uksouth",
76+
"westus3"
77+
],
6578
"metadata": {
6679
"azd": {
6780
"type": "location",
@@ -14019,8 +14032,8 @@
1401914032
},
1402014033
"dependsOn": [
1402114034
"aiFoundryAiServices",
14022-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
1402314035
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
14036+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
1402414037
"virtualNetwork"
1402514038
]
1402614039
},

0 commit comments

Comments
 (0)