github.com/opentofu/opentofu@v1.7.1/internal/tofu/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 }