SpinTheMic
Pro

Interview practice question

Plan wants to destroy and recreate a resource unexpectedly

Cloud & DevOps · Terraform and IaC · Beginner

You change one setting, and terraform plan shows it will destroy and recreate a database. What do you do?

What a strong answer covers

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

  • Don't apply.
  • Check "forces replacement" attribute.
  • Some attributes immutable in provider.
  • Find in-place alternative or plan migration.
  • prevent_destroy for critical resources.
Practise this topic

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

See all topics