github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/apply-data-depends-on/main.tf (about)

     1  resource "null_instance" "write" {
     2  	foo = "attribute"
     3  }
     4  
     5  data "null_data_source" "read" {
     6  	foo = ""
     7  	depends_on = ["null_instance.write"]
     8  }