github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/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 }