This is a dedicated watch page for a single video.
You're managing an application on Google Cloud Platform (GCP) using Terraform. The application leverages a managed instance group for deployment on instances defined by an instance template. Your CI/CD pipeline deploys the Terraform code. When you attempt to update the machine type within the instance template via Terraform, the pipeline fails during the terraform apply stage, encountering the following error message: Error waiting for deleting instance template: The instance_template resource 'project/demo-project/global/instanceTemplates/demo-instance-2024010000010001' is already being used by 'projects/demo-project/regions/us-central1/instanceGroupManagers/demo-mig' Your objective is to update the instance template while minimizing disruptions to both the application and the CI/CD pipeline execution frequency. What's the most appropriate course of action?