The Lancaster City Council voted to pass an amendment to regulate data centers in the city of Lancaster on Tuesday night.