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
9 months agoTula
9 months agoAshley
10 months agoKimberely
10 months agoWalker
10 months agoMila
10 months agoAudria
11 months agoArlyne
11 months agoDominque
11 months agoJerry
11 months agoArlie
11 months agoJame
11 months agoMacy
11 months agoHelga
11 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