diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go b/vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go index ae9a400..5b190e2 100644 --- a/vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go +++ b/vendor/github.com/hashicorp/terraform/plugin/grpc_provider.go | |||
@@ -330,6 +330,7 @@ func (p *GRPCProvider) ReadResource(r providers.ReadResourceRequest) (resp provi | |||
330 | protoReq := &proto.ReadResource_Request{ | 330 | protoReq := &proto.ReadResource_Request{ |
331 | TypeName: r.TypeName, | 331 | TypeName: r.TypeName, |
332 | CurrentState: &proto.DynamicValue{Msgpack: mp}, | 332 | CurrentState: &proto.DynamicValue{Msgpack: mp}, |
333 | Private: r.Private, | ||
333 | } | 334 | } |
334 | 335 | ||
335 | protoResp, err := p.client.ReadResource(p.ctx, protoReq) | 336 | protoResp, err := p.client.ReadResource(p.ctx, protoReq) |
@@ -348,6 +349,7 @@ func (p *GRPCProvider) ReadResource(r providers.ReadResourceRequest) (resp provi | |||
348 | } | 349 | } |
349 | } | 350 | } |
350 | resp.NewState = state | 351 | resp.NewState = state |
352 | resp.Private = protoResp.Private | ||
351 | 353 | ||
352 | return resp | 354 | return resp |
353 | } | 355 | } |