github.com/jaredpalmer/terraform@v1.1.0-alpha20210908.0.20210911170307-88705c943a03/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 }