Unfortunately, unless you want to move, you will have to get rid of the goat. One of the most important things to do before buying a home in an HOA is to thoroughly read the DCC&Rs and Rules.
← I purchased a goat for making cheese shortly after moving in to my home and I was cited by the Association because the DCC&Rs and Rules of my HOA do not consider a goat to be a recognized house pet. What can I do?