Skip to content

Commit dd0e962

Browse files
Set default value for prefix parameter and disable local authentication for Cosmos DB
1 parent 74dba70 commit dd0e962

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infra/main.bicep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ param azureOpenAILocation string = 'eastus2' // The location used for all deploy
3333
@minLength(3)
3434
@maxLength(20)
3535
@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.')
36-
param prefix string
36+
param prefix string = 'macaeatemplate'
3737

3838
@description('Tags to apply to all deployed resources')
3939
param tags object = {}
@@ -197,6 +197,7 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
197197
}
198198
]
199199
capabilities: [{ name: 'EnableServerless' }]
200+
disableLocalAuth: true
200201
}
201202

202203
resource contributorRoleDefinition 'sqlRoleDefinitions' existing = {

0 commit comments

Comments
 (0)