Hello A8 experts!

My audi service guys reckon I need new engine ECU , which is going to cost a grand with labour and vat. I have located a used one at a third of the cost but would it need reprograming . Could it be done with VAGCOM or is it main dealer stuff?

thanks

simon