SpinTheMic
Pro

Interview practice question

A resource was deleted outside Terraform

Cloud & DevOps · Terraform and IaC · Intermediate

Someone deleted a resource manually, and now terraform plan wants to create it again. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Refresh detects missing resource; plan recreates.
  • Decide: should it exist?
  • If yes: apply to recreate (data may be lost).
  • If no: remove from code (and state).
  • Investigate why it was deleted.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics