Skip to content

Commit

Permalink
Merge pull request #3713 from ministryofjustice/csr/r3-app-web-dns-up…
Browse files Browse the repository at this point in the history
…date

rebuilding r3 web server to subnet a and adding dns records to region 3
  • Loading branch information
haitchison authored Oct 18, 2023
2 parents c84b465 + 8d47fad commit 1351ceb
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ locals {
ami = "pp-csr-a-17-a"
component = "app"
}
route53_records = {
create_internal_record = true
create_external_record = true
}
}

pp-csr-w-7-b = {
Expand Down Expand Up @@ -199,18 +203,18 @@ locals {
}
}

pp-csr-w-5-b = {
pp-csr-w-5-a = {
config = merge(module.baseline_presets.ec2_instance.config.default, {
ami_name = "PPCWW00005"
ami_owner = "self"
availability_zone = "${local.region}b"
availability_zone = "${local.region}a"
ebs_volumes_copy_all_from_ami = false
})
instance = merge(module.baseline_presets.ec2_instance.instance.default, {
instance_type = "m5.2xlarge"
disable_api_termination = true
monitoring = true
vpc_security_group_ids = ["migration-web-sg", "domain-controller"]
vpc_security_group_ids = ["domain", "web", "jumpserver"]
tags = {
backup-plan = "daily-and-weekly"
}
Expand All @@ -223,9 +227,13 @@ locals {
tags = {
description = "copy of PPCWW00005 for csr ${local.environment}"
os-type = "Windows"
ami = "pp-csr-w-5-b"
ami = "PPCWW00005"
component = "web"
}
route53_records = {
create_internal_record = true
create_external_record = true
}
}

}
Expand Down

0 comments on commit 1351ceb

Please sign in to comment.