mirror of https://github.com/hashicorp/terraform
Previously when runnign a plan with no exitsing state, the plan would be written out and then backed up on the next WriteState by another BackupState instance. Since we now maintain a single State instance thoughout an operation, the backup happens before any state exists so no backup file is created. This is OK, as the backup state the tests were checking for is from the plan file, which already exists separate from the state.pull/11686/head
parent
dd19cb202d
commit
94f2f4d6ae
Loading…
Reference in new issue