Skip to content

Commit 12d6721

Browse files
committed
[NRL-804] Remove unused RDS resources from prod TF infra
1 parent 13c7fa2 commit 12d6721

File tree

5 files changed

+4
-231
lines changed

5 files changed

+4
-231
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2+
/*
23
module "dev-custom-domain-name" {
34
source = "../modules/env-custom-domain-name"
45
domain_name = var.prod_api_domain_name
56
domain_zone = aws_route53_zone.prod-ns.name
67
mtls_certificate_file = "s3://${module.prod-truststore-bucket.bucket_name}/${module.prod-truststore-bucket.certificates_object_key}"
78
}
9+
*/

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: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,7 @@ variable "assume_account" {
44

55
variable "assume_role" {}
66

7-
variable "prod_api_domain_name" {
7+
/*variable "prod_api_domain_name" {
88
description = "The internal DNS name of the API Gateway for the prod environment"
99
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"
59-
}
10+
}*/

0 commit comments

Comments
 (0)