remove planned resources from refreshed state
This commit is contained in:
parent
72aea4bc64
commit
7951b55f88
|
@ -567,7 +567,8 @@ The -target option is not for routine use, and is provided only for exceptional
|
||||||
}
|
}
|
||||||
p.Changes = c.changes
|
p.Changes = c.changes
|
||||||
|
|
||||||
p.State = c.refreshState
|
c.refreshState.SyncWrapper().RemovePlannedResourceInstanceObjects()
|
||||||
|
p.State = c.refreshState.DeepCopy()
|
||||||
|
|
||||||
// replace the working state with the updated state, so that immediate calls
|
// replace the working state with the updated state, so that immediate calls
|
||||||
// to Apply work as expected.
|
// to Apply work as expected.
|
||||||
|
|
Loading…
Reference in New Issue