File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Container App Environment and Container Apps
2-
3- ...@ icons
4-
5- container_app_env : Container App Environment {
6- class : container_app_environment
7-
8- # Container Apps inside the environment
9- webapp : Web App {
10- class : container_app
11- }
12-
13- cloai_service : CLO AI Service {
14- class : container_app
15- }
16-
17- ctk_functions : CTK Functions {
18- class : container_app
19- }
20-
21- languagetool : LanguageTool {
22- class : container_app
23- }
24-
25- # Container app relationships
26- webapp -> ctk_functions : calls API
27- webapp -> languagetool : grammar checks
28- ctk_functions -> cloai_service : AI requests
29- ctk_functions -> languagetool : grammar checks
30- }
2+ # Note: Container app environment and apps are now defined inside prod_rg in main.d2
3+ # This file is kept for backward compatibility but is no longer imported by main.d2
Original file line number Diff line number Diff line change 11# Cosmos PostgreSQL Database
2-
3- ...@ icons
4-
5- cosmos_postgres : Cosmos PostgreSQL\n Cluster {
6- class : cosmos_db
7- shape : cylinder
8- }
9-
10- private_endpoint : Private Endpoint\n (Database) {
11- class : private_endpoint
12- }
13-
14- private_dns_zone : Private DNS Zone\n (postgres.cosmos.azure.com) {
15- class : dns_zone
16- }
17-
18- # Database connections
19- private_endpoint -> cosmos_postgres : connects to
2+ # Note: Database resources are now defined inside prod_rg in main.d2
3+ # This file is kept for backward compatibility but is no longer imported by main.d2
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ prod_rg.vnet.storage_subnet -> prod_rg.key_vault: connects to
113113
114114# Database connections
115115prod_rg .private_endpoint -> prod_rg .cosmos_postgres : connects to
116- prod_rg .private_endpoint -> prod_rg .vnet : connects to
116+ prod_rg .vnet -> prod_rg .private_endpoint : connects to
117117prod_rg .private_dns_zone -> prod_rg .vnet : linked to
118118prod_rg .container_app_env .webapp -> prod_rg .cosmos_postgres : queries
119119prod_rg .container_app_env .ctk_functions -> prod_rg .cosmos_postgres : queries
Original file line number Diff line number Diff line change 11# Virtual Network and Subnets
2-
3- ...@ icons
4-
5- vnet : Virtual Network\n (prod) {
6- class : virtual_network
7-
8- container_apps_subnet : Container Apps\n Subnet {
9- class : subnet
10- }
11-
12- database_subnet : Database\n Subnet {
13- class : subnet
14- }
15-
16- storage_subnet : Storage\n Subnet {
17- class : subnet
18- }
19- }
2+ # Note: Network resources are now defined inside prod_rg in main.d2
3+ # This file is kept for backward compatibility but is no longer imported by main.d2
Original file line number Diff line number Diff line change 11# Supporting Services
2-
3- ...@ icons
4-
5- key_vault : Key Vault {
6- class : key_vault
7- }
8-
9- storage_account : Storage Account {
10- class : storage_account
11- shape : cylinder
12- }
13-
14- log_analytics : Log Analytics\n Workspace {
15- class : log_analytics
16- }
17-
18- app_insights : Application Insights {
19- class : app_insights
20- }
21-
22- # Supporting service relationships
23- app_insights -> log_analytics : sends logs to
2+ # Note: Supporting services are now defined inside prod_rg in main.d2
3+ # This file is kept for backward compatibility but is no longer imported by main.d2
You can’t perform that action at this time.
0 commit comments