github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/transform-destroy-cbd-edge-basic/main.tf (about)

     1  resource "test_object" "A" {
     2    lifecycle {
     3      create_before_destroy = true
     4    }
     5  }
     6  
     7  resource "test_object" "B" {
     8    test_string = "${test_object.A.id}"
     9  }