github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/apply-depends-create-before/main.tf (about) 1 2 resource "aws_instance" "web" { 3 require_new = "ami-new" 4 lifecycle { 5 create_before_destroy = true 6 } 7 } 8 9 resource "aws_instance" "lb" { 10 instance = "${aws_instance.web.id}" 11 }