Use your money to rent first. That way you can see what places you like, how they shape up in different seasons, if they are ghost towns off season and so on. If you don't like it, you can rent somewhere else next time.
Rental prices are very reasonable and there are plenty to choose from. If you buy, don't forget to add in the taxes which are terrible.
We bought a "holiday" home over 20 years ago and loved the place so much we moved here permanently over 10 years ago. The cost of moving in Spain is very high with the fees and taxes so make sure you have the right place to begin with before you buy.
Try different places, different areas, different communiities and check how much the community fees are. On golf resorts they can be very high so bear that in mind before committing. Something estate agents tend to gloss over.
Lots of great places, lots of great areas. Get an independent solicitor. When you rent you'll have somewhrere to stay while you're looking for your ideal place.
Best of luck but don't rush into it.