From bcc8be7400368c154d31a3d7abfd0fb681b5ee0e Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 31 Jul 2018 16:08:53 -0400 Subject: [PATCH] add schema.InternalMap This exposes the internal schemaMap for use by the new provider shims. --- helper/schema/schema.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helper/schema/schema.go b/helper/schema/schema.go index 0ea5aad558..7675010676 100644 --- a/helper/schema/schema.go +++ b/helper/schema/schema.go @@ -364,6 +364,11 @@ func (s *Schema) finalizeDiff(d *terraform.ResourceAttrDiff, customized bool) *t return d } +// InternalMap is used to aid in the transition to the new schema types and +// protocol. The name is not meant to convey any usefulness, as this is not to +// be used directly by any providers. +type InternalMap = schemaMap + // schemaMap is a wrapper that adds nice functions on top of schemas. type schemaMap map[string]*Schema