Skip to content

Commit b55604e

Browse files
authored
Merge pull request #390 from pamelafox/location-picker
Use location picker for openAI
2 parents 221b3a1 + 4b3eaf4 commit b55604e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

infra/main.bicep

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ param storageContainerName string = 'content'
2727

2828
param openAiServiceName string = ''
2929
param openAiResourceGroupName string = ''
30-
param openAiResourceGroupLocation string = location
30+
@description('Location for the OpenAI resource group')
31+
@allowed(['eastus', 'francecentral', 'southcentralus', 'uksouth', 'westeurope'])
32+
@metadata({
33+
azd: {
34+
type: 'location'
35+
}
36+
})
37+
param openAiResourceGroupLocation string
3138

3239
param openAiSkuName string = 'S0'
3340

0 commit comments

Comments
 (0)