diff --git a/states/module.go b/states/module.go index fa9e71993..b172693ee 100644 --- a/states/module.go +++ b/states/module.go @@ -109,8 +109,6 @@ func (ms *Module) SetResourceInstanceCurrent(addr addrs.ResourceInstance, obj *R return } // if we have an instance, update the current - // TODO: this setting happens below as well, so possibly this can be removed, - // but not changing it right now as we might return in the block below is.Current = obj if !is.HasObjects() { // If we have no objects at all then we'll clean up.