Terraform

What terraform taint does?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

terraform taint resource.id manually marks the resource as tainted in the state file. So when you run terraform apply the next time, the resource will be destroyed and recreated.