This repository was archived by the owner on Sep 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +35
-57
lines changed Expand file tree Collapse file tree 4 files changed +35
-57
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ resources:
14
14
- repository : dtos-devops-templates
15
15
type : github
16
16
name : NHSDigital/dtos-devops-templates
17
- ref : d00eaa9a7ce04b78ff5ebf488f6d265d929a58b3
17
+ ref : fix/log-analytics-private-DNS
18
18
endpoint : NHSDigital
19
19
20
20
variables :
Original file line number Diff line number Diff line change
1
+ # Create the private link service for Application Insights
2
+ module "private_link_scoped_service_app_insights" {
3
+ for_each = var. features . private_endpoints_enabled ? var. regions : {}
4
+
5
+ source = " ../../../dtos-devops-templates/infrastructure/modules/private-link-scoped-service"
6
+
7
+ providers = {
8
+ azurerm = azurerm.hub
9
+ }
10
+
11
+ name = " ${ module . regions_config [each . key ]. names . log-analytics-workspace } -ampls-service-app-insights"
12
+ resource_group_name = data. terraform_remote_state . hub . outputs . private_endpoint_rg_name [each . key ]
13
+
14
+ linked_resource_id = module. app_insights_audit [each . key ]. id
15
+ scope_name = data. terraform_remote_state . hub . outputs . azure_monitor_private_link_scope_name
16
+ }
17
+
18
+ # Create the private link service for Log Analytics
19
+ module "private_link_scoped_service_law" {
20
+ for_each = var. features . private_endpoints_enabled ? var. regions : {}
21
+
22
+ source = " ../../../dtos-devops-templates/infrastructure/modules/private-link-scoped-service"
23
+
24
+ providers = {
25
+ azurerm = azurerm.hub
26
+ }
27
+
28
+ name = " ${ module . regions_config [each . key ]. names . log-analytics-workspace } -ampls-service-law"
29
+ resource_group_name = data. terraform_remote_state . hub . outputs . private_endpoint_rg_name [each . key ]
30
+
31
+ linked_resource_id = module. log_analytics_workspace_audit [each . key ]. id
32
+ scope_name = data. terraform_remote_state . hub . outputs . azure_monitor_private_link_scope_name
33
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"development" : "b838b13c-f98c-4def-93f0-515d4e4f4ee1" ,
5
5
"integration" : "97eaad14-a72c-45f3-bbcd-c0071113c1c2" ,
6
6
"nft" : "97eaad14-a72c-45f3-bbcd-c0071113c1c2" ,
7
+ "pre_production" : "97eaad14-a72c-45f3-bbcd-c0071113c1c2" ,
7
8
"production" : "97eaad14-a72c-45f3-bbcd-c0071113c1c2" ,
8
9
}
9
10
You can’t perform that action at this time.
0 commit comments