Last time I piped a gas fired unit heater was about 25 years ago. At that time, the gas code required a valve, a union, and a flex connector (in that order) to the heater. I doubt the code is any less strict now than it was back then. The valve and union have been required forever. The flex...