terraform taint command reference | Terraform | HashiCorp Developer

The `terraform taint` command marks specified objects in the Terraform state as tainted.