Single-layer heterostructures of magnetic materials are unique platforms for studying spin-related phenomena in two dimensions (2D) and have promising applications in spintronics and magnonics. Here, we report the fabrication of 2D magnetic lateral heterostructures consisting of single-layer chromium triiodide (CrI3) and chromium diiodide (CrI2). By carefully adjusting the abundance of iodine based on molecular beam epitaxy, single-layer CrI3-CrI2 heterostructures were grown on Au(111) surfaces with nearly atomic-level seamless boundaries. Two distinct types of interfaces, i.e., zigzag and armchair interfaces, have been identified by means of scanning tunneling microscopy. Our scanning tunneling spectroscopy study combined with density functional theory calculations indicates the existence of spin-polarized ground states below and above the Fermi energy localized at the boundary. Both the armchair and zigzag interfaces exhibit semiconducting nanowire behaviors with different spatial distributions of density of states. Our work presents a novel low-dimensional magnetic system for studying spin-related physics with reduced dimensions and designing advanced spintronic devices.