Skip to content

Commit da1569e

Browse files
committed
updating variables yaml
1 parent b37fd25 commit da1569e

2 files changed

Lines changed: 35 additions & 39 deletions

File tree

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
BASE_URL: https://dev.check-if-you-need-a-lung-scan.non-live.screening.nhs.uk
2-
BASIC_AUTH_ENABLED: True
3-
CIS2_SERVER_METADATA_URL: https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare/.well-known/openid-configuration
4-
PERSONAS_ENABLED: 1
5-
CSRF_TRUSTED_ORIGINS: 'https://dev.heck-if-you-need-a-lung-scan.non-live.screening.nhs.uk'
6-
NOTIFICATIONS_SMTP_IS_ENABLED: False
7-
APPLICATIONINSIGHTS_IS_ENABLED: True
1+
OIDC_RP_CLIENT_ID: lcrc
2+
OIDC_OP_FQDN: https://auth.sandpit.signin.nhs.uk
3+
DISABLE_RECENT_SUBMISSION_LIMITATION: true

infrastructure/modules/container-apps/front_door.tf

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,39 @@ data "azurerm_cdn_frontdoor_profile" "this" {
77
resource_group_name = "rg-hub-${var.hub}-uks-${var.app_short_name}"
88
}
99

10-
module "frontdoor_endpoint" {
11-
count = var.features.front_door ? 1 : 0
10+
# module "frontdoor_endpoint" {
11+
# count = var.features.front_door ? 1 : 0
1212

13-
source = "../dtos-devops-templates/infrastructure/modules/cdn-frontdoor-endpoint"
13+
# source = "../dtos-devops-templates/infrastructure/modules/cdn-frontdoor-endpoint"
1414

15-
providers = {
16-
azurerm = azurerm.hub # Each project's Front Door profile (with secrets) resides in Hub since it's shared infra with a Non-live/Live deployment pattern
17-
azurerm.dns = azurerm.hub
18-
}
15+
# providers = {
16+
# azurerm = azurerm.hub # Each project's Front Door profile (with secrets) resides in Hub since it's shared infra with a Non-live/Live deployment pattern
17+
# azurerm.dns = azurerm.hub
18+
# }
1919

20-
cdn_frontdoor_profile_id = data.azurerm_cdn_frontdoor_profile.this[0].id
21-
# custom_domains = {
22-
# "${var.environment}-domain" = {
23-
# host_name = local.hostname # For prod it must be equal to the dns_zone_name to use apex
24-
# dns_zone_name = var.dns_zone_name
25-
# dns_zone_rg_name = "rg-hub-${var.hub}-uks-public-dns-zones"
26-
# }
27-
# }
28-
name = "${var.app_short_name}-${var.environment}" # environment-specific to avoid naming collisions within a Front Door Profile
20+
# cdn_frontdoor_profile_id = data.azurerm_cdn_frontdoor_profile.this[0].id
21+
# # custom_domains = {
22+
# # "${var.environment}-domain" = {
23+
# # host_name = local.hostname # For prod it must be equal to the dns_zone_name to use apex
24+
# # dns_zone_name = var.dns_zone_name
25+
# # dns_zone_rg_name = "rg-hub-${var.hub}-uks-public-dns-zones"
26+
# # }
27+
# # }
28+
# name = "${var.app_short_name}-${var.environment}" # environment-specific to avoid naming collisions within a Front Door Profile
2929

30-
origins = {
31-
"${var.environment}-origin" = {
32-
hostname = module.webapp.fqdn
33-
origin_host_header = module.webapp.fqdn
34-
private_link = {
35-
target_type = "managedEnvironments"
36-
location = var.region
37-
private_link_target_id = var.container_app_environment_id
38-
}
39-
}
40-
}
41-
route = {
42-
https_redirect_enabled = true
43-
supported_protocols = ["Http", "Https"]
44-
}
45-
}
30+
# origins = {
31+
# "${var.environment}-origin" = {
32+
# hostname = module.webapp.fqdn
33+
# origin_host_header = module.webapp.fqdn
34+
# private_link = {
35+
# target_type = "managedEnvironments"
36+
# location = var.region
37+
# private_link_target_id = var.container_app_environment_id
38+
# }
39+
# }
40+
# }
41+
# route = {
42+
# https_redirect_enabled = true
43+
# supported_protocols = ["Http", "Https"]
44+
# }
45+
# }

0 commit comments

Comments
 (0)