
Before you pull the tub out of the washer, you must disconnect the ground wire from the bearing behind the pulley. This isn’t impossible… it just looks that way.
There’s a notch molded into the pulley that provides access to the ring terminal. IIRC, it’s a Torx T15 screw and there’s just barely enough clearance for a magnetic tip holder in there.
For some unknown reason, the tapped hole on our washer was filled with steel filings that clogged the threads. I ran the screw in until it stopped, backed it out, cleaned off the filings, and repeated until it came out mostly clean.
The picture is after a few cleaning passes; the screw came out covered with filings the first time!

The magnetization comes from the holder I used for the Torx bit, but it certainly was handy.