github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/testdata/plan-prevent-destroy-good/main.tf (about) 1 resource "aws_instance" "foo" { 2 lifecycle { 3 prevent_destroy = true 4 } 5 }