opentofu/config/test-fixtures/validate-missing-provider/main.tf
James Bardin 8619f566bb validate providers passed to a module exist
This validation was lost in the migration of inheritance back to core.
Make sure a module configuraton doesn't specifiy a provider that doesn't
exist.
2017-11-10 11:01:32 -05:00

11 lines
129 B
HCL

provider "test" {
alias = "bar"
}
module "mod" {
source = "./mod"
providers = {
"test" = "test.foo"
}
}