Implement skip replica error only for Amazon RDS.