File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ owner = "nhse/ndr-team"
33domain = " access-request-fulfilment.patient-deductions.nhs.uk"
44certificate_domain = " access-request-fulfilment.patient-deductions.nhs.uk"
55certificate_subdomain_name_prefix = " api-"
6- cloudfront_subdomain_prefix = " file."
6+ cloudfront_subdomain = " file."
77
88standalone_vpc_tag = " ndr-dev"
99standalone_vpc_ig_tag = " ndr-dev"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ owner = "nhse/ndr-team"
44domain = " national-document-repository.nhs.uk"
55certificate_domain = " pre-prod.national-document-repository.nhs.uk"
66certificate_subdomain_name_prefix = " api."
7- cloudfront_subdomain_prefix = " file."
7+ cloudfront_subdomain = " file."
88
99standalone_vpc_tag = " ndr-pre-prod"
1010standalone_vpc_ig_tag = " ndr-pre-prod"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ owner = "nhse/ndr-team"
44domain = " national-document-repository.nhs.uk"
55certificate_domain = " national-document-repository.nhs.uk"
66certificate_subdomain_name_prefix = " api."
7- cloudfront_subdomain_prefix = " file."
7+ cloudfront_subdomain = " file."
88
99standalone_vpc_tag = " ndr-prod"
1010standalone_vpc_ig_tag = " ndr-prod"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ owner = "nhse/ndr-team"
44domain = " access-request-fulfilment.patient-deductions.nhs.uk"
55certificate_domain = " ndr-test.access-request-fulfilment.patient-deductions.nhs.uk"
66certificate_subdomain_name_prefix = " api."
7- cloudfront_subdomain_prefix = " file."
7+ cloudfront_subdomain = " file."
88
99standalone_vpc_tag = " ndr-test"
1010standalone_vpc_ig_tag = " ndr-test"
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ variable "certificate_subdomain_name_prefix_mtls" {
2626 default = " mtls"
2727}
2828
29- variable "cloudfront_subdomain_prefix " {
30- description = " Prefix to add to CloudFront custom domain subdomain."
29+ variable "cloudfront_subdomain " {
30+ description = " CloudFront custom subdomain."
3131 type = string
3232 default = " file."
3333}
@@ -280,7 +280,7 @@ locals {
280280
281281 mtls_api_gateway_full_domain_name = contains ([" prod" ], terraform. workspace ) ? " ${ var . certificate_subdomain_name_prefix_mtls } .${ var . domain } " : " ${ var . certificate_subdomain_name_prefix_mtls } .${ terraform . workspace } .${ var . domain } "
282282
283- cloudfront_full_domain_name = contains ([" prod" ], terraform. workspace ) ? " ${ var . cloudfront_subdomain_prefix } ${ var . domain } " : " ${ var . cloudfront_subdomain_prefix } ${ terraform . workspace } .${ var . domain } "
283+ cloudfront_full_domain_name = contains ([" prod" ], terraform. workspace ) ? " ${ var . cloudfront_subdomain } ${ var . domain } " : " ${ var . cloudfront_subdomain } ${ terraform . workspace } .${ var . domain } "
284284
285285 current_region = data. aws_region . current . name
286286 current_account_id = data. aws_caller_identity . current . account_id
You can’t perform that action at this time.
0 commit comments