diff --git a/terraform/state.go b/terraform/state.go index 1f5e90d02..2e45a661f 100644 --- a/terraform/state.go +++ b/terraform/state.go @@ -352,6 +352,10 @@ func (s *ResourceState) MergeDiff(d *ResourceDiff) *ResourceState { return &result } +func (s *ResourceState) GoString() string { + return fmt.Sprintf("*%#v", *s) +} + // ResourceDependency maps a resource to another resource that it // depends on to remain intact and uncorrupted. type ResourceDependency struct {