The DevOps team at CloudVista Corp is experiencing unplanned downtime due to CloudFormation template changes in their CodePipeline-based CI/CD for an application deployed to an EC2 Auto Scaling group. How should a solutions architect improve the CI/CD pipeline to minimize downtime from these template changes, considering artifacts are in S3 and deployed via user data scripts?