From 030784eb978bb71fe58832e5846d5fdda81fc408 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 7 Sep 2018 17:25:58 -0700 Subject: [PATCH] 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. --- terraform/context_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/context_test.go b/terraform/context_test.go index e4fb42c54..4e06c33d8 100644 --- a/terraform/context_test.go +++ b/terraform/context_test.go @@ -527,6 +527,10 @@ func testProviderSchema(name string) *ProviderSchema { Type: cty.String, Optional: true, }, + "type": { + Type: cty.String, + Computed: true, + }, }, }, name + "_eip": {