Files
opentf/command
Mitchell Hashimoto 2019a44f04 command/apply: apply from plan respects -backup and -state-out
Fixes #5409

I didn't expect this to be such a rabbit hole!

Based on git history, it appears that for "historical reasons"(tm),
setting up the various `state.State` structures for a plan were
_completely different logic_ than a normal `terraform apply`. This meant
that it was skipping things like disabling backups with `-backup="-"`.

This PR unifies loading from a plan to the normal state setup mechanism.
A few tests that were failing prior to this PR were added, no existing
tests were changed.
2016-10-28 20:51:05 -04:00
..
2015-09-11 11:56:20 -07:00
2015-04-29 13:07:13 -05:00
2015-09-13 14:40:36 -07:00
2016-05-11 13:02:34 -07:00
2016-05-11 13:02:35 -07:00
2016-10-18 11:11:12 -04:00
2016-10-24 14:19:55 +02:00
2016-10-18 11:11:12 -04:00
2016-08-16 09:48:21 -05:00
2015-09-11 11:56:20 -07:00
2016-10-18 11:11:12 -04:00
2015-06-22 13:14:01 +01:00
2015-06-22 13:14:01 +01:00
2015-06-22 13:14:01 +01:00
2016-05-10 14:49:14 -04:00
2016-05-11 09:16:48 -07:00
2016-08-19 23:56:27 -04:00
2016-08-16 18:10:38 +01:00
2016-05-10 17:03:58 -07:00
2016-05-26 19:56:03 -05:00
2016-05-26 19:56:03 -05:00
2014-05-24 12:04:43 -07:00