(CNN) -- French Budget Minister Jerome Cahuzac has resigned as prosecutors said they had opened a preliminary investigation into allegations that he had an undeclared bank account in Switzerland, officials said Tuesday.