diff --git a/moto/rds/models.py b/moto/rds/models.py index 80a55434..9bbf2769 100644 --- a/moto/rds/models.py +++ b/moto/rds/models.py @@ -373,6 +373,7 @@ class RDSBackend(BaseBackend): if database.is_replica: primary = self.describe_databases(database.source_db_identifier)[0] primary.remove_replica(database) + database.status = 'deleting' return database else: raise DBInstanceNotFoundError(db_instance_identifier)