Skip to content

Commit 37a5d94

Browse files
Merge pull request #688 from NHSDigital/feature/made14-NRL-847-account-wide-for-ref
[NRL-847] Add ref custom-domain-name TF config
2 parents 0fb1900 + 13c7fa2 commit 37a5d94

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

terraform/account-wide-infrastructure/test/domain.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,16 @@ module "int-custom-domain-name" {
2020
mtls_certificate_file = "s3://${module.int-truststore-bucket.bucket_name}/${module.int-truststore-bucket.certificates_object_key}"
2121
}
2222

23-
24-
/*module "intsandbox-custom-domain-name" {
23+
module "intsandbox-custom-domain-name" {
2524
source = "../modules/env-custom-domain-name"
2625
domain_name = var.intsandbox_api_domain_name
2726
domain_zone = aws_route53_zone.test-int-ns.name
2827
mtls_certificate_file = "s3://${module.int-truststore-bucket.bucket_name}/${module.int-truststore-bucket.certificates_object_key}"
2928
}
30-
*/
3129

32-
/*
3330
module "ref-custom-domain-name" {
3431
source = "../modules/env-custom-domain-name"
3532
domain_name = var.ref_api_domain_name
3633
domain_zone = aws_route53_zone.test-ref-ns.name
3734
mtls_certificate_file = "s3://${module.ref-truststore-bucket.bucket_name}/${module.ref-truststore-bucket.certificates_object_key}"
3835
}
39-
*/

terraform/account-wide-infrastructure/test/vars.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ variable "int_api_domain_name" {
1919
default = "int.api.record-locator.int.national.nhs.uk"
2020
}
2121

22-
/*
2322
variable "intsandbox_api_domain_name" {
2423
description = "The internal DNS name of the API Gateway for the int sandbox environment"
25-
default = "api-sandbox.int.record-locator.national.nhs.uk"
24+
default = "int-sandbox.api.record-locator.int.national.nhs.uk"
2625
}
2726

2827
variable "ref_api_domain_name" {
2928
description = "The internal DNS name of the API Gateway for the ref environment"
30-
default = "api.ref.record-locator.national.nhs.uk"
29+
default = "ref.api.record-locator.ref.national.nhs.uk"
3130
}
32-
*/

0 commit comments

Comments
 (0)