A $21 million lawsuit over alleged construction defects at a high-end condominium developed by Terra in Miami's Coconut Grove has settled for a confidential amount after two years of litigation.