Files
opentf/command
Mitchell Hashimoto d01886a644 command: remove legacy remote state on migration
Fixes #12871

We were forgetting to remove the legacy remote state from the actual
state value when migrating. This only causes an issue when saving a plan
since the plan contains the state itself and causes an error where both
a backend + legacy state exist.

If saved plans aren't used this causes no noticable issue.

Due to buggy upgrades already existing in the wild, I also added code to
clear the remote section if it exists in a standard unchanged backend
2017-03-20 10:14:59 -07:00
..
2017-02-15 14:41:55 -05:00
2015-04-29 13:07:13 -05:00
2017-01-26 14:33:49 -08:00
2017-01-26 14:33:49 -08:00
2017-01-26 14:33:49 -08:00
2017-02-24 18:32:59 -05:00
2017-02-24 18:32:59 -05:00
2017-03-17 13:49:05 -04:00
2017-01-26 14:33:49 -08:00
2017-01-26 14:33:49 -08:00
2017-02-06 10:07:32 -05:00
2017-02-06 10:07:32 -05:00
2017-01-26 14:33:49 -08:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-02-20 14:50:31 -05:00
2014-05-24 12:04:43 -07:00