terraform: GoString for *ResourceState

This commit is contained in:
Mitchell Hashimoto 2014-08-20 10:38:10 -07:00
parent 5fc41cc272
commit 6d6cd793e0
1 changed files with 4 additions and 0 deletions

View File

@ -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 {