Contact a lender and speak with an attorney!
I think you might be mistaken about a VA loan assumption. It is my understanding the person must qualify, but does NOT have to be a veteran. Further, in an assumption scenario, VA loan eligibility is "tied up" and can take some time to get back.
All said, I can't see an assumption is ever necessary in a foreclosure which is a process of law and right of a lien holder to protect their interest. Taking title "subject to" means just that, and any lien holders in a more senior position would have to be satisfied (brought current, paid in full, or given payments).
What happens to you (whether evicted or not), your VA loan, and your credit are reasons to speak with an attorney.
In my opinion, the HOA would not have foreclosed if they intended to leave you in the property. Also, despite being "underwater," it is possible for a junior lien holder to recover "something" on the debt owed.
Again...see an attorney.