Google Professional Cloud DevOps Engineer Exam - Topic 5 Question 82 Discussion
You use Terraform to manage an application deployed to a Google Cloud environment The application runs on instances deployed by a managed instance group The Terraform code is deployed by using a CI/CD pipeline When you change the machine type on the instance template used by the managed instance group, the pipeline fails at the terraform apply stage with the following error messageYou need to update the instance template and minimize disruption to the application and the number of pipeline runs What should you do?
B) Add a new instance template update the managed instance group to use the new instance template and delete the old instance template
A) Delete the managed instance group and recreate it after updating the instance template
C) Remove the managed instance group from the Terraform state file update the instance template and reimport the managed instance group.
D) Set the create_bef ore_destroy meta-argument to true in the lifecycle block on the instance template
Gene
7 months agoTula
8 months agoAshley
8 months agoKimberely
8 months agoWalker
8 months agoMila
9 months agoAudria
9 months agoArlyne
9 months agoDominque
9 months agoJerry
9 months agoArlie
9 months agoJame
9 months agoMacy
9 months agoHelga
9 months agoVallie
1 year agoBillye
1 year agoAlonso
1 year agoViva
1 year agoJames
1 year agoEvette
1 year agoLeota
1 year agoShoshana
1 year agoFannie
1 year agoPok
1 year agoDarci
1 year agoDortha
1 year agoFiliberto
1 year agoMarjory
1 year agoCeola
1 year agoJose
1 year agoElbert
1 year agoJame
1 year agoJoseph
1 year agoTheresia
1 year agoLera
1 year agoVal
1 year agoJose
1 year ago