Israel 's government is urging Israelis visiting Egypt 's Sinai peninsula to leave immediately because of what it calls an imminent terrorist attack .