We report on the realization of a double barrier resonant tunneling diode for cavity polaritons, by lateral patterning of a one-dimensional cavity. Sharp transmission resonances are demonstrated when sending a polariton flow onto the device. We use a non-resonant beam can be used as an optical gate and control the device transmission. Finally we evidence distortion of the transmission profile when going to the high density regime, signature of polariton-polariton interactions.