Skip to content

Commit 8900c6b

Browse files
committed
Merge branch 'develop' of github.com:NHSDigital/NRLF into feature/eema1-NRL-693-addCloudWatchAlarmForLambdaError
2 parents 41d5b5c + cf3a7d2 commit 8900c6b

File tree

6 files changed

+5
-233
lines changed

6 files changed

+5
-233
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
module "dev-custom-domain-name" {
34
source = "../modules/env-custom-domain-name"
45
domain_name = var.prod_api_domain_name

terraform/account-wide-infrastructure/prod/rds-cluster-vpc.tf

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

terraform/account-wide-infrastructure/prod/rds.tf

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

terraform/account-wide-infrastructure/prod/security-groups.tf

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

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

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,54 +6,5 @@ variable "assume_role" {}
66

77
variable "prod_api_domain_name" {
88
description = "The internal DNS name of the API Gateway for the prod environment"
9-
default = "api.record-locator.national.nhs.uk"
10-
}
11-
12-
variable "private_subnet_cidr_blocks" {
13-
description = "Available CIDR blocks for private subnets"
14-
type = list(string)
15-
default = [
16-
"10.0.1.0/24",
17-
"10.0.2.0/24",
18-
"10.0.3.0/24",
19-
"10.0.4.0/24",
20-
]
21-
}
22-
23-
variable "subnet_count" {
24-
description = "Number of subnets"
25-
type = map(number)
26-
default = {
27-
private = 3
28-
}
29-
}
30-
31-
variable "vpc_cidr_block" {
32-
description = "CIDR block for VPC"
33-
type = string
34-
default = "10.0.0.0/16"
35-
}
36-
37-
variable "engine_version" {
38-
description = "engine version for rds cluster"
39-
type = string
40-
default = "15.2"
41-
}
42-
43-
variable "engine" {
44-
description = "enginer for the rds cluster"
45-
type = string
46-
default = "aurora-postgresql"
47-
}
48-
49-
variable "user_name" {
50-
description = "user name for the database cluster"
51-
type = string
52-
default = "nrlf"
53-
}
54-
55-
variable "instance_type" {
56-
description = "Instance type for the database instance"
57-
type = string
58-
default = "db.t3.medium"
9+
default = "prod.api.record-locator.national.nhs.uk"
5910
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ variable "qasandbox_api_domain_name" {
1616

1717
variable "int_api_domain_name" {
1818
description = "The internal DNS name of the API Gateway for the int environment"
19-
default = "api.int.record-locator.national.nhs.uk"
19+
default = "int.api.record-locator.int.national.nhs.uk"
2020
}
2121

2222
variable "intsandbox_api_domain_name" {
2323
description = "The internal DNS name of the API Gateway for the int sandbox environment"
24-
default = "api-sandbox.int.record-locator.national.nhs.uk"
24+
default = "int-sandbox.api.record-locator.int.national.nhs.uk"
2525
}
2626

2727
variable "ref_api_domain_name" {
2828
description = "The internal DNS name of the API Gateway for the ref environment"
29-
default = "api.ref.record-locator.national.nhs.uk"
29+
default = "ref.api.record-locator.ref.national.nhs.uk"
3030
}

0 commit comments

Comments
 (0)