If you can afford the payment and do not plan to sell it for the next 7 years, I will buy it. You will lose some if you rent it out but as long as you could afford it, it is not a bad choice.
However, I would caution you on the HOA part. Read their reserve studies and get a good financial picture of the HOA.