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

     1  resource "aws_instance" "web" {
     2      lifecycle {
     3          create_before_destroy = true
     4      }
     5  }
     6  
     7  resource "aws_load_balancer" "lb" {
     8      member = "${aws_instance.web.id}"
     9  }