mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
update schemas type
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user