2012 a8l alternator in 2008 s6?

Just wanted yalls advice on this question. Will a 2012 a8 4.2 alternator work in a 2008 s6. 5.2 ? Voltage and amps are the same as well as connectors. I don’t see why it wouldn’t be an issue other than removing the different coolant connectors and replacing them with the originals from the old one( becuz those are different )