Skip to content

Commit

Permalink
dpr2-1396 tf removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Devina-Moore-MOJ committed Jan 7, 2025
1 parent 44f61c4 commit 6e83c02
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions terraform/environments/digital-prison-reporting/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1069,52 +1069,6 @@ module "dms_nomis_ingestor" {
)
}

module "dms_fake_data_ingestor" {
source = "./modules/dms_dps"
setup_dms_instance = local.setup_fake_data_dms_instance
enable_replication_task = local.enable_fake_data_replication_task # Disable Replication Task
name = "${local.project}-dms-fake-data-ingestor-${local.env}"
vpc_cidr = [data.aws_vpc.shared.cidr_block]
source_engine_name = "postgres"
source_db_name = "db59b5cf9e5de6b794"
source_app_username = "cp9Zr5bLim"
source_app_password = "whkthrI65zpcFEe5"
source_address = "cloud-platform-59b5cf9e5de6b794.cdwm328dlye6.eu-west-2.rds.amazonaws.com"
source_db_port = 5432
vpc = data.aws_vpc.shared.id
kinesis_stream_policy = module.kinesis_stream_ingestor.kinesis_stream_iam_policy_admin_arn
project_id = local.project
env = local.environment
dms_source_name = "postgres"
dms_target_name = "kinesis"
short_name = "fake-data"
migration_type = "full-load-and-cdc"
replication_instance_version = "3.4.7" # Rollback
replication_instance_class = "dms.t3.medium"
subnet_ids = [
data.aws_subnet.data_subnets_a.id, data.aws_subnet.data_subnets_b.id, data.aws_subnet.data_subnets_c.id
]

vpc_role_dependency = [aws_iam_role.dmsvpcrole]
cloudwatch_role_dependency = [aws_iam_role.dms_cloudwatch_logs_role]

kinesis_settings = {
"include_null_and_empty" = "true"
"partition_include_schema_table" = "true"
"include_partition_value" = "true"
"kinesis_target_stream" = "arn:aws:kinesis:eu-west-2:${data.aws_caller_identity.current.account_id}:stream/${local.kinesis_stream_ingestor}"
}

tags = merge(
local.all_tags,
{
Name = "${local.project}-dms-fake-data-ingestor-${local.env}"
Resource_Type = "DMS Replication"
Postgres_Source = "DPS"
}
)
}

# Dynamo DB Tables
# Dynamo DB for DomainRegistry, DPR-306/DPR-218
module "dynamo_tab_domain_registry" {
Expand Down

0 comments on commit 6e83c02

Please sign in to comment.