Looking at the parts catalog released by Tesla they only show 1 motor for the rear and 1 motor for the front on a dual motor car. There is no mention of different part numbers based on the variant of the car such as RWD, AWD non-p, AWD P or AWD P with PUP.
Maybe more info will come showing...