postgres and mysql replicate source parameteres

This commit is contained in:
Manuel Romero
2023-09-22 13:37:46 +02:00
parent cef090b34e
commit 7673592afc

View File

@@ -185,6 +185,27 @@ module "aurora_rds_instance" {
tags = local.tags
instances_parameters = local.is_postgres? [
{
apply_method = "pending-reboot"
name = "rds.logical_replication"
value = 1
},
{
apply_method = "pending-reboot"
name = "max_wal_senders"
value = 10
},
{
apply_method = "pending-reboot"
name = "max_replication_slots"
value = 10
}
] : local.is_mysql? [{
name = "binlog_format"
value = "row"
}]: []
}
locals {