You're totally right. I thought HR was at minimum a neutral party - at Amazon your HR rep is called your "HR Business Partner". That's complete baloney. She was basically there to do whatever my manager and the VP wanted her to do. Things I told her in confidence (like having two transfer opportunities) were immediately relayed to my manager. It is such a betrayal of trust. I would hope that other HR departments in other companies are different but I think that's overly optimistic.