github.com/hugorut/terraform@v1.1.3/src/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 }