The city said more than $2 million was invested in the truck, which took more than two years to design, build, and deliver.