Protecting resources with prevent_destroy
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.