terraform :comments
This commit is contained in:
parent
24c9b7c987
commit
1d724f3481
|
@ -214,6 +214,9 @@ func (t *Terraform) planWalkFn(
|
||||||
newState = new(ResourceState)
|
newState = new(ResourceState)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the type, the provider shouldn't modify this
|
||||||
|
newState.Type = r.State.Type
|
||||||
|
|
||||||
// Get a diff from the newest state
|
// Get a diff from the newest state
|
||||||
diff, err := r.Provider.Diff(newState, r.Config)
|
diff, err := r.Provider.Diff(newState, r.Config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue