From e9486a0d4b964f3d01a463a718b193351d3a00ce Mon Sep 17 00:00:00 2001 From: Ben Corlett Date: Tue, 24 Oct 2023 12:30:43 +0100 Subject: [PATCH] Add notify production dms --- terraform/prod.dms.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/terraform/prod.dms.json b/terraform/prod.dms.json index 0675374add..b7f4e3b733 100644 --- a/terraform/prod.dms.json +++ b/terraform/prod.dms.json @@ -30,5 +30,37 @@ "cidr_block": "10.202.0.0/16", "vpc_peering_connection_id": "pcx-05d45161c45033d27" } + }, + { + "name": "govuk-notify-prod-migration", + "source_secret_name": "dms-secrets/notify-prod/source", + "source_extra_connection_attributes": "executeTimeout=3600;", + "target_secret_name": "dms-secrets/notify-prod/destination", + "target_extra_connection_attributes": "executeTimeout=3600;", + "instance": { + "allocated_storage": "6144", + "allow_major_version_upgrade": false, + "apply_immediately": true, + "auto_minor_version_upgrade": true, + "availability_zone": "eu-west-1b", + "engine_version": "3.5.1", + "multi_az": false, + "preferred_maintenance_window": "mon:22:40-mon:23:20", + "publicly_accessible": false, + "replication_instance_class": "dms.c6i.4xlarge" + }, + "task": { + "migration_type": "full-load-and-cdc", + "settings_overrides": { + "FullLoadSettings": { + "TargetTablePrepMode": "TRUNCATE_BEFORE_LOAD" + } + }, + "table_mappings": null + }, + "vpc_peering": { + "cidr_block": "10.203.0.0/16", + "vpc_peering_connection_id": "pcx-0b6f954326dfdc132" + } } ] \ No newline at end of file