github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/apply-multi-depose-create-before-destroy/main.tf (about)

     1  resource "aws_instance" "web" {
     2      // require_new is a special attribute recognized by testDiffFn that forces
     3      // a new resource on every apply
     4      require_new = "yes"
     5      lifecycle {
     6          create_before_destroy = true
     7      }
     8  }