In real-estate (as in most-purchases), Buyer-Beware.
Due-diligence prior to closing/escrow is primarily the-buyer's-responsibility.
Your-state might-have disclosure-laws/rules requiring realtors/sellers to make full-disclosure;
Your-specific-legal-resource depends on your-state's-regulations.
If you were not told about your-Home-Owners-Association,
Then they did NOT "lie" to you,
Unless they said there was NOT a HOA,
But they did FAIL to make full-disclosure.
Your-Deed/Title-insurance/search SHOULD have disclosed your-HOA.