Skip to content

Commit a63d0ae

Browse files
added all the environment variable in bicep needed for local setup
1 parent 3042b8f commit a63d0ae

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

infra/main.bicep

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,3 +647,26 @@ module containerAppFrontend 'br/public:avm/res/app/container-app:0.17.0' = {
647647
@description('The resource group the resources were deployed into.')
648648
output resourceGroupName string = resourceGroup().name
649649
output WEB_APP_URL string = 'https://${containerAppFrontend.outputs.fqdn}'
650+
output COSMOSDB_ENDPOINT string = cosmosDb.outputs.endpoint
651+
output AZURE_BLOB_ACCOUNT_NAME string = storageAccount.outputs.name
652+
output AZURE_BLOB_ENDPOINT string = 'https://${storageAccount.outputs.name}.blob.core.windows.net/'
653+
output AZURE_OPENAI_ENDPOINT string = 'https://${aiServices.outputs.name}.openai.azure.com/'
654+
output AZURE_AI_AGENT_PROJECT_NAME string = aiServices.outputs.aiProjectInfo.name
655+
output AZURE_AI_AGENT_ENDPOINT string = aiServices.outputs.aiProjectInfo.apiEndpoint
656+
output AZURE_AI_AGENT_PROJECT_CONNECTION_STRING string = aiServices.outputs.aiProjectInfo.apiEndpoint
657+
output AZURE_AI_AGENT_RESOURCE_GROUP_NAME string = resourceGroup().name
658+
output AZURE_AI_AGENT_SUBSCRIPTION_ID string = subscription().subscriptionId
659+
output AI_PROJECT_ENDPOINT string = aiServices.outputs.aiProjectInfo.apiEndpoint
660+
output AZURE_CLIENT_ID string = appIdentity.outputs.clientId
661+
output AZURE_AI_AGENT_MODEL_DEPLOYMENT_NAME string = modelDeployment.name
662+
output AZURE_BLOB_CONTAINER_NAME string = appStorageContainerName
663+
output COSMOSDB_DATABASE string = cosmosDb.outputs.databaseName
664+
output COSMOSDB_BATCH_CONTAINER string = cosmosDb.outputs.containerNames.batch
665+
output COSMOSDB_FILE_CONTAINER string = cosmosDb.outputs.containerNames.file
666+
output COSMOSDB_LOG_CONTAINER string = cosmosDb.outputs.containerNames.log
667+
output APPLICATIONINSIGHTS_CONNECTION_STRING string = enableMonitoring ? applicationInsights.outputs.connectionString : ''
668+
output MIGRATOR_AGENT_MODEL_DEPLOY string = modelDeployment.name
669+
output PICKER_AGENT_MODEL_DEPLOY string = modelDeployment.name
670+
output FIXER_AGENT_MODEL_DEPLOY string = modelDeployment.name
671+
output SEMANTIC_VERIFIER_AGENT_MODEL_DEPLOY string = modelDeployment.name
672+
output SYNTAX_CHECKER_AGENT_MODEL_DEPLOY string = modelDeployment.name

0 commit comments

Comments
 (0)