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:
parent
ab1117bcef
commit
030784eb97
|
@ -527,6 +527,10 @@ func testProviderSchema(name string) *ProviderSchema {
|
||||||
Type: cty.String,
|
Type: cty.String,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
},
|
},
|
||||||
|
"type": {
|
||||||
|
Type: cty.String,
|
||||||
|
Computed: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
name + "_eip": {
|
name + "_eip": {
|
||||||
|
|
Loading…
Reference in New Issue