github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/terraform/testdata/apply-invalid-index/main.tf (about)

     1  resource "test_instance" "a" {
     2    count = 0
     3  }
     4  
     5  resource "test_instance" "b" {
     6    value = test_instance.a[0].value
     7  }