github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/configs/testdata/config-diagnostics/pass-inherited-provider/mod/main.tf (about) 1 terraform { 2 required_providers { 3 test = { 4 source = "hashicorp/test" 5 } 6 } 7 } 8 9 module "mod2" { 10 source = "./mod2" 11 12 // the test provider is named here, but a config must be supplied from the 13 // parent module. 14 providers = { 15 test.foo = test 16 } 17 }