github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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 }