From dc78269a3c7708dfdc6ffe74613a621896afc890 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 21 Jun 2018 15:03:53 -0400 Subject: [PATCH] use cty.Value for connection info For now this will be an encoded map, but it allows for a more complex schema in the future. --- providers/provider.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/provider.go b/providers/provider.go index 5542fea893..12d1997203 100644 --- a/providers/provider.go +++ b/providers/provider.go @@ -231,9 +231,9 @@ type ApplyResourceChangeResponse struct { // known state of the resource, if it exists. NewState cty.Value - // Connection is a map of string values used to return any information - // provisioners might require to connect to the resource. - Connection map[string]string + // Connection is used to return any information provisioners might require + // to cty.Value + Connection cty.Value // Private is an opaque blob that will be stored in state along with the // resource. It is intended only for interpretation by the provider itself.