Skip to content

Commit 252d88f

Browse files
committed
fixed conflicts
1 parent 890ae12 commit 252d88f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

infra/main.bicep

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
targetScope = 'resourceGroup'
12
@description('Location for all resources.')
2-
param location string
3+
param location string = 'EastUS2' //Fixed for model availability, change back to resourceGroup().location
34

45
@allowed([
56
'australiaeast'
@@ -27,12 +28,12 @@ param location string
2728
'westus3'
2829
])
2930
@description('Location for all Ai services resources. This location can be different from the resource group location.')
30-
param azureOpenAILocation string // The location used for all deployed resources. This location must be in the same region as the resource group.
31+
param azureOpenAILocation string = 'eastus2' // The location used for all deployed resources. This location must be in the same region as the resource group.
3132

3233
@minLength(3)
3334
@maxLength(20)
3435
@description('Prefix for all resources created by this template. This prefix will be used to create unique names for all resources. The prefix must be unique within the resource group.')
35-
param prefix string
36+
param prefix string = take('macaeo-${uniqueString(resourceGroup().id)}', 10)
3637

3738
@description('Tags to apply to all deployed resources')
3839
param tags object = {}

0 commit comments

Comments
 (0)