github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/configs/configupgrade/testdata/valid/depends-on/want/depends-on.tf (about) 1 resource "test_instance" "foo" { 2 depends_on = [ 3 test_instance.bar, 4 test_instance.bar[0], 5 test_instance.bar, 6 test_instance.bar, 7 data.test_instance.baz, 8 data.test_instance.baz, 9 module.foo.bar, 10 module.foo, 11 ] 12 } 13 14 output "foo" { 15 value = "a" 16 depends_on = [test_instance.foo] 17 }