Why would you use the terraform taint command?

Why would you use the terraform taint command?
A . When you want to force Terraform to destroy a resource on the next apply
B . When you want to force Terraform to destroy and recreate a resource on the next apply
C . When you want Terraform to ignore a resource on the next apply
D . When you want Terraform to destroy all the infrastructure in your workspace

Answer: B

Explanation:

The terraform taint command manually marks a Terraform-managed resource as tainted, forcing it to be destroyed and recreated on the next apply.

Reference: https://www.terraform.io/docs/cli/commands/taint.html

Latest TA-002-P Dumps Valid Version with 324 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments