terraform/internal/configs/testdata/config-diagnostics/pass-inherited-provider/mod/main.tf

18 lines
269 B
HCL

terraform {
required_providers {
test = {
source = "hashicorp/test"
}
}
}
module "mod2" {
source = "./mod2"
// the test provider is named here, but a config must be supplied from the
// parent module.
providers = {
test.foo = test
}
}