terraform/configs/configupgrade/testdata/valid/depends-on/want/depends-on.tf

18 lines
315 B
Terraform
Raw Normal View History

resource "test_instance" "foo" {
depends_on = [
test_instance.bar,
test_instance.bar[0],
test_instance.bar,
test_instance.bar,
data.test_instance.baz,
data.test_instance.baz,
module.foo.bar,
module.foo,
]
}
output "foo" {
value = "a"
depends_on = [test_instance.foo]
}