Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
name: '00000000-0000-0000-0000-000000000002'
}

resource autogenDb 'sqlDatabases' = {
name: 'autogen'
resource macaeDb 'sqlDatabases' = {
name: 'macae'
properties: {
resource: {
id: 'autogen'
id: 'macae'
createMode: 'Default'
}
}
Expand Down Expand Up @@ -339,11 +339,11 @@ resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
}
{
name: 'COSMOSDB_DATABASE'
value: cosmos::autogenDb.name
value: cosmos::macaeDb.name
}
{
name: 'COSMOSDB_CONTAINER'
value: cosmos::autogenDb::memoryContainer.name
value: cosmos::macaeDb::memoryContainer.name
}
{
name: 'AZURE_OPENAI_ENDPOINT'
Expand Down
2 changes: 1 addition & 1 deletion infra/main.bicepparam
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using './main.bicep'

param environmentName = readEnvironmentVariable('AZURE_ENV_NAME', 'macaetemplate')
param AZURE_LOCATION = readEnvironmentVariable('AZURE_ENV_LOCATION', '')
param azureOpenAILocation = readEnvironmentVariable('AZURE_ENV_LOCATION', 'eastus2')
Loading
Loading