github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/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  }