1. A variable resistance device for a semiconductor memory, comprising: a first electrode made of a conductive material; a solid electrolyte having at least two regions with different heights formed in a three-dimensional structure on the first electrode; and a second electrode made of a conductive material formed on the solid electrolyte to cover the regions with different heights.