@@ -27,3 +27,52 @@ output "application_url" {
2727 value = azurerm_linux_web_app. app . default_hostname
2828 description = " Primary host name for the App Service"
2929}
30+
31+ output "ai_foundry_name" {
32+ value = local. ai_foundry_name
33+ description = " Azure AI Foundry account name"
34+ }
35+
36+ output "ai_project_name" {
37+ value = local. ai_project_name
38+ description = " Azure AI Foundry project name"
39+ }
40+
41+ output "resource_group_name" {
42+ value = azurerm_resource_group. rg . name
43+ description = " Resource group name"
44+ }
45+
46+ output "subscription_id" {
47+ value = data. azurerm_client_config . current . subscription_id
48+ description = " Azure subscription ID"
49+ }
50+
51+ output "application_insights_connection_string" {
52+ value = azurerm_application_insights. appinsights . connection_string
53+ description = " Application Insights connection string"
54+ sensitive = true
55+ }
56+
57+ output "cosmos_db_name" {
58+ value = local. cosmos_db_name
59+ description = " Cosmos DB database name"
60+ }
61+
62+ output "ai_foundry_endpoint" {
63+ value = " https://${ local . ai_foundry_name } .cognitiveservices.azure.com/"
64+ description = " Azure AI Foundry endpoint URL"
65+ }
66+
67+ output "deployed_models" {
68+ value = var. enable_ai_automation ? [
69+ " gpt-4o-mini" ,
70+ " text-embedding-3-small"
71+ ] : []
72+ description = " List of AI models actually deployed (phi-4 not available in this region)"
73+ }
74+
75+ output "env_file_location" {
76+ value = var. enable_ai_automation ? " ../src/.env" : " Not created (AI automation disabled)"
77+ description = " Location of the generated .env file"
78+ }
0 commit comments