Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NRL-804] Remove MI resources from prod infrastructure #689

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions terraform/account-wide-infrastructure/prod/domain.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@


module "dev-custom-domain-name" {
source = "../modules/env-custom-domain-name"
domain_name = var.prod_api_domain_name
Expand Down
96 changes: 0 additions & 96 deletions terraform/account-wide-infrastructure/prod/rds-cluster-vpc.tf

This file was deleted.

39 changes: 0 additions & 39 deletions terraform/account-wide-infrastructure/prod/rds.tf

This file was deleted.

45 changes: 0 additions & 45 deletions terraform/account-wide-infrastructure/prod/security-groups.tf

This file was deleted.

51 changes: 1 addition & 50 deletions terraform/account-wide-infrastructure/prod/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,54 +6,5 @@ variable "assume_role" {}

variable "prod_api_domain_name" {
description = "The internal DNS name of the API Gateway for the prod environment"
default = "api.record-locator.national.nhs.uk"
}

variable "private_subnet_cidr_blocks" {
description = "Available CIDR blocks for private subnets"
type = list(string)
default = [
"10.0.1.0/24",
"10.0.2.0/24",
"10.0.3.0/24",
"10.0.4.0/24",
]
}

variable "subnet_count" {
description = "Number of subnets"
type = map(number)
default = {
private = 3
}
}

variable "vpc_cidr_block" {
description = "CIDR block for VPC"
type = string
default = "10.0.0.0/16"
}

variable "engine_version" {
description = "engine version for rds cluster"
type = string
default = "15.2"
}

variable "engine" {
description = "enginer for the rds cluster"
type = string
default = "aurora-postgresql"
}

variable "user_name" {
description = "user name for the database cluster"
type = string
default = "nrlf"
}

variable "instance_type" {
description = "Instance type for the database instance"
type = string
default = "db.t3.medium"
default = "prod.api.record-locator.national.nhs.uk"
}