The Parks and Recreation star will next be seen in the comedy alongside a host of other comedians.
"I'm doing this thing in this movie, called The Apocalypse," Aziz told Grantland.
"It's Seth Rogen, James Franco, Jonah Hill, Danny McBride - and all those guys. Seth and Evan are directing it.
"And it's basically all of us playing ourselves. Me, McBride, Jonah, Seth - everyone's playing themselves, and the bit is James Franco's having a party at his house, and the apocalypse starts happening."
Last year, Daniel Radcliffe debunked rumours that he was in line to appear in the film.
The Apocalypse is based on Rogen and Jay Baruchel's Jay and Seth vs. The Apoclaypse, a comedy skit written by Rogen and Goldberg that appeared on YouTube in 2010.
Sony plans to release the movie on June 14, 2013.