SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Core Terraform workflow

Protecting resources with prevent_destroy

1 min read · 204 wordsTerraform 004Updated

In one line: prevent_destroy = true fails any plan that would destroy the object, blocking a whole teardown, but deleting the block removes the guard.

You’ve read your 2 free Terraform 004 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 7 of 10Next