github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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 }