File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030 - AZURE_AI_SEARCH_CONNECTION_NAME: AI Search connection name (search connection mode)
3131 - AZURE_AI_SEARCH_ENDPOINT: AI Search endpoint (knowledge base mode)
3232 - AZURE_AI_SEARCH_INDEX: AI Search index name
33- - SQLDB_SERVER, SQLDB_DATABASE : Azure SQL (for azure-only mode)
33+ - AZURE_SQLDB_SERVER, AZURE_SQLDB_DATABASE : Azure SQL (for azure-only mode)
3434 - FABRIC_WORKSPACE_ID: Fabric workspace (for Fabric mode)
3535"""
3636
8787
8888# SQL Configuration - determine mode
8989FABRIC_WORKSPACE_ID = os .getenv ("FABRIC_WORKSPACE_ID" )
90- SQL_SERVER = os .getenv ("SQLDB_SERVER" )
91- SQL_DATABASE = os .getenv ("SQLDB_DATABASE" )
90+ SQL_SERVER = os .getenv ("AZURE_SQLDB_SERVER" ) or os . getenv ( " SQLDB_SERVER" )
91+ SQL_DATABASE = os .getenv ("AZURE_SQLDB_DATABASE" ) or os . getenv ( " SQLDB_DATABASE" )
9292
9393# Determine SQL mode
9494if args .azure_only :
131131
132132if not USE_FABRIC and (not SQL_SERVER or not SQL_DATABASE ):
133133 print ("ERROR: Azure SQL not configured and Fabric not available" )
134- print (" Set SQLDB_SERVER and SQLDB_DATABASE in azd environment" )
134+ print (" Set AZURE_SQLDB_SERVER and AZURE_SQLDB_DATABASE in azd environment" )
135135 print (" Or configure FABRIC_WORKSPACE_ID for Fabric mode" )
136136 sys .exit (1 )
137137
You can’t perform that action at this time.
0 commit comments