github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/apply-resource-depends-on-module-in-module/child/main.tf (about) 1 module "grandchild" { 2 source = "./child" 3 } 4 5 resource "aws_instance" "b" { 6 ami = "child" 7 depends_on = ["module.grandchild"] 8 }