• Sander van Harmelen's avatar
    backend/local: preserve serial and lineage on failure · 57f6e018
    Sander van Harmelen authored
    When failing to write the state, the local backend writes the state to a local file called `errrored.tfstate`. Previously it would do so by creating a new state file which would use a new serial and lineage. By exorting the existing state file and directly assigning the new state, the serial and lineage are preserved.
    57f6e018