diff --git a/terraform/environments/corporate-staff-rostering/locals_preproduction.tf b/terraform/environments/corporate-staff-rostering/locals_preproduction.tf index 61fe5094467..3d642c51435 100644 --- a/terraform/environments/corporate-staff-rostering/locals_preproduction.tf +++ b/terraform/environments/corporate-staff-rostering/locals_preproduction.tf @@ -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 = { @@ -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" } @@ -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 + } } }