Amazon is closing all seven of its warehouses in Quebec, eliminating 1,700 permanent jobs and 250 temporary ones.