add transform step logs from GraphTransformMulti

This commit is contained in:
James Bardin 2017-11-02 16:38:32 -04:00
parent b4e9240679
commit ecdba2b0b2
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,8 @@
package terraform package terraform
import ( import (
"log"
"github.com/hashicorp/terraform/dag" "github.com/hashicorp/terraform/dag"
) )
@ -40,6 +42,9 @@ func (t *graphTransformerMulti) Transform(g *Graph) error {
if err := t.Transform(g); err != nil { if err := t.Transform(g); err != nil {
return err return err
} }
log.Printf(
"[TRACE] Graph after step %T:\n\n%s",
t, g.StringWithNodeTypes())
} }
return nil return nil