From 047c9b3cc6e894c6a48f34181bca6cdd451215c2 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 5 May 2020 21:23:27 -0400 Subject: [PATCH] missing id in schema in plan test The data source was never read, so the schema was never verified. --- terraform/context_plan_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/context_plan_test.go b/terraform/context_plan_test.go index 1ecc306ca..4ff1dc5f2 100644 --- a/terraform/context_plan_test.go +++ b/terraform/context_plan_test.go @@ -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}, }, },