Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit c97f1fd

Browse files
authored
Merge branch 'main' into add-healthcheck-path-to-infrastructure
2 parents 2a3b00a + 48abea8 commit c97f1fd

File tree

4 files changed

+35
-57
lines changed

4 files changed

+35
-57
lines changed

.azuredevops/pipelines/cd-infrastructure-dev-audit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resources:
1414
- repository: dtos-devops-templates
1515
type: github
1616
name: NHSDigital/dtos-devops-templates
17-
ref: d00eaa9a7ce04b78ff5ebf488f6d265d929a58b3
17+
ref: fix/log-analytics-private-DNS
1818
endpoint: NHSDigital
1919

2020
variables:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
}

infrastructure/tf-audit/private_link_scopes.tf

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/functions/notify/routing_plans.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"development": "b838b13c-f98c-4def-93f0-515d4e4f4ee1",
55
"integration": "97eaad14-a72c-45f3-bbcd-c0071113c1c2",
66
"nft": "97eaad14-a72c-45f3-bbcd-c0071113c1c2",
7+
"pre_production": "97eaad14-a72c-45f3-bbcd-c0071113c1c2",
78
"production": "97eaad14-a72c-45f3-bbcd-c0071113c1c2",
89
}
910

0 commit comments

Comments
 (0)