Both are for forcing Terraform to recreate a resource, but apply -replace is the modern and much safer way to do it. taint was the old way, where you’d mark a resource as “tainted,” and then the next plan/apply would replace it. It was a two-step process and easy to forget about. apply -replace is a single, explicit action. It immediately plans and applies the replacement of that specific resource. It’s much clearer what’s happening.
Terraform interview questions and answers
Here we will discuss terraform interview questions and answers. The real goal is to show that you have actually used this tool. The best way to prepare is to build things. Write some code to deploy a simple network, then add a server, and other resources. The hands-on experience is what will make the difference.
Demand in the cloud and DevOps skill area is stronger, than ever. Having a good understanding and the skill to effectively communicate what you have learned about Terraform, gives you a fantastic opportunity of securing your next job.
0/30