Skip to content

Commit 93d5222

Browse files
authored
Merge pull request #381 from NHSDigital/bug/ELI-470-update-prod-subdomain
eli-470 updating prod subdomain to include national.nhs.uk
2 parents ceea887 + 0e4739e commit 93d5222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/stacks/api-layer/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ locals {
22
stack_name = "api-layer"
33

44
api_subdomain = var.environment
5-
api_domain_name = "eligibility-signposting-api.nhs.uk"
5+
api_domain_name = var.environment == "prod" ? "eligibility-signposting-api.national.nhs.uk" : "eligibility-signposting-api.nhs.uk"
66

77
# PEM file for certificate
88
pem_file_content = join("\n", [

0 commit comments

Comments
 (0)