use the terraform asset pipeline as connect middleware