terraform :comments

This commit is contained in:
Mitchell Hashimoto 2014-06-23 20:52:44 -07:00
parent 24c9b7c987
commit 1d724f3481
1 changed files with 3 additions and 0 deletions

View File

@ -214,6 +214,9 @@ func (t *Terraform) planWalkFn(
newState = new(ResourceState)
}
// Set the type, the provider shouldn't modify this
newState.Type = r.State.Type
// Get a diff from the newest state
diff, err := r.Provider.Diff(newState, r.Config)
if err != nil {