missing id in schema in plan test
The data source was never read, so the schema was never verified.
This commit is contained in:
parent
924162923a
commit
047c9b3cc6
|
@ -1992,6 +1992,7 @@ func TestContext2Plan_dataResourceBecomesComputed(t *testing.T) {
|
||||||
DataSources: map[string]*configschema.Block{
|
DataSources: map[string]*configschema.Block{
|
||||||
"aws_data_source": {
|
"aws_data_source": {
|
||||||
Attributes: map[string]*configschema.Attribute{
|
Attributes: map[string]*configschema.Attribute{
|
||||||
|
"id": {Type: cty.String, Computed: true},
|
||||||
"foo": {Type: cty.String, Optional: true},
|
"foo": {Type: cty.String, Optional: true},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue