github.com/LorbusChris/terraform@v0.11.12-beta1/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  }