update schemas type

This commit is contained in:
James Bardin
2023-07-06 09:55:56 -04:00
parent d487ce20e1
commit 4e8dd5866c
4 changed files with 15 additions and 28 deletions

View File

@@ -86,13 +86,17 @@ func testAnalyzer(t *testing.T, fixtureName string) *Analyzer {
},
},
}
schemas := map[addrs.Provider]*providers.Schemas{
schemas := map[addrs.Provider]providers.Schemas{
addrs.MustParseProviderSourceString("hashicorp/test"): {
ResourceTypes: map[string]*configschema.Block{
"test_thing": resourceTypeSchema,
ResourceTypes: map[string]providers.Schema{
"test_thing": {
Block: resourceTypeSchema,
},
},
DataSources: map[string]*configschema.Block{
"test_thing": resourceTypeSchema,
DataSources: map[string]providers.Schema{
"test_thing": {
Block: resourceTypeSchema,
},
},
},
}