A homeowner's association may not include or enforce a provision in a governing document that prohibits, restricts, or has the effect of prohibiting or restricting the lawful:
For the purposes of this section, the term "governing documents" means a written instrument by which a homeowners' association may exercise power to manage, maintain, or otherwise affect the property under the jurisdiction of the homeowners' association.
For the purposes of this section, the term "homeowners' association" means any incorporated or unincorporated association in which membership is based upon owning or possessing an interest in real property and that has the authority, pursuant to recorded covenants, bylaws, or other governing documents, to assess and record liens against the real property of its members.
SDCL 11-5-9