github.com/markdia/terraform@v0.5.1-0.20150508012022-f1ae920aa970/terraform/test-fixtures/plan-prevent-destroy-bad/main.tf (about) 1 resource "aws_instance" "foo" { 2 require_new = "yes" 3 4 lifecycle { 5 prevent_destroy = true 6 } 7 }