SpinTheMic
Pro

Explain it in 60 seconds

The lifecycle meta-argument

Cloud & DevOps · Terraform and IaC · Intermediate

What options does Terraform's lifecycle block provide, and when do you use them?

What a strong answer covers

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

  • create_before_destroy: avoid downtime on replacement.
  • prevent_destroy: block deletion.
  • ignore_changes: ignore externally managed attributes.
  • replace_triggered_by: force replacement on changes.
  • Preconditions/postconditions.
Practise this topic

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

See all topics