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

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