missing id in schema in plan test

The data source was never read, so the schema was never verified.
This commit is contained in:
James Bardin 2020-05-05 21:23:27 -04:00
parent 924162923a
commit 047c9b3cc6
1 changed files with 1 additions and 0 deletions

View File

@ -1992,6 +1992,7 @@ func TestContext2Plan_dataResourceBecomesComputed(t *testing.T) {
DataSources: map[string]*configschema.Block{
"aws_data_source": {
Attributes: map[string]*configschema.Attribute{
"id": {Type: cty.String, Computed: true},
"foo": {Type: cty.String, Optional: true},
},
},