Isolated terawatt (TW) attosecond (as) hard X-ray pulse is greatly desired for four-dimensional investigations of natural phenomena with picometer spatial and attosecond temporal resolutions. Since the demand for such sources is continuously increasing, the possibility of generating such pulse by a single current spike without the use of optical or electron delay units in an undulator line is addressed. The conditions of a current spike (width and height) and a modulation laser pulse (wavelength and power) is also discussed. We demonstrate that an isolated TW-level as a hard X-ray can be produced by a properly chosen single current spike in an electron bunch with simulation results. By using realistic specifications of an electron bunch of the Pohang Accelerator Laboratory X-ray Free-Electron Laser (PAL-XFEL), we show that an isolated, >1.0 TW and similar to 36 as X-ray pulse at 12.4 keV can be generated in an optimized-tapered undulator line. This result opens a new vista for current XFEL operation: the attosecond XFEL.