🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)119 / 150
Question 119 of 150

A colleague's older runbook instructs the team to run `terraform taint aws_instance.web` to force an EC2 instance to be recreated on the next apply. You are on a recent version of Terraform (0.15.2+) and want to follow the currently recommended approach that lets you preview the recreation in a plan before committing to it. Which command should you use instead?

Reviewed for accuracy · Report an issueNext question