With this many unknowns, all I can really do is say: Consult a real estate lawyer. Have your lawyer review the HOA documentation and the bill from the contractor, along with the notice of lien. Your lawyer will then advise you as to your options.