We should record additions to state file during deployment in the append log, so that if deployment is interrupted & restarted, we still have partial state file restored.
Today, if deploy is interrupted, no state is saved, so resources will get orphaned.