github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/graph-builder-apply-double-cbd/main.tf (about)

     1  resource "aws_instance" "A" {
     2    lifecycle { create_before_destroy = true }
     3  }
     4  
     5  resource "aws_instance" "B" {
     6    value = ["${aws_instance.A.*.id}"]
     7  
     8    lifecycle { create_before_destroy = true }
     9  }