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

     1  resource "aws_lc" "foo" {
     2      lifecycle { create_before_destroy = true }
     3  }
     4  
     5  resource "aws_autoscale" "bar" {
     6      lc = "${aws_lc.foo.id}"
     7  
     8      lifecycle { create_before_destroy = true }
     9  }