terraform/config/testdata/validate-depends-on-module/main.tf

8 lines
109 B
HCL

module "child" {
source = "./child"
}
resource aws_instance "web" {
depends_on = ["module.child"]
}