github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/transform-destroy-cbd-edge-multi/main.tf (about)

     1  resource "test_object" "A" {
     2    lifecycle {
     3      create_before_destroy = true
     4    }
     5  }
     6  
     7  resource "test_object" "B" {
     8    lifecycle {
     9      create_before_destroy = true
    10    }
    11  }
    12  
    13  resource "test_object" "C" {
    14    test_string = "${test_object.A.id}-${test_object.B.id}"
    15  }