core: Include "type" attribute in the mock _instance type schema

This is a computed attribute populated by our testDiffFn which a number of
tests depend on for correct operation.
This commit is contained in:
Martin Atkins 2018-09-07 17:25:58 -07:00
parent ab1117bcef
commit 030784eb97
1 changed files with 4 additions and 0 deletions

View File

@ -527,6 +527,10 @@ func testProviderSchema(name string) *ProviderSchema {
Type: cty.String,
Optional: true,
},
"type": {
Type: cty.String,
Computed: true,
},
},
},
name + "_eip": {