terraform/states/statemgr
Martin Atkins 6cb3b0f4cf states/statemgr: Local locks meta is near output path, not input path
This was a mistake while adapting this code from the old state.LocalState.
Since the lock is held on the output file (s.path) the metadata should
live adjacent to that rather than being built from the read path
(s.readPath) that is used only as the initial snapshot on first
instantiation.

This also includes more logging, continuing the trend of other recent
commits in these files. The local state behavior is sufficiently complex
that these trace logs are a great help in debugging issues such as this
one with the wrong files being used or actions being taken in the wrong
order.
2018-11-19 09:02:35 -08:00
..
testdata statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
doc.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
filesystem.go states/statemgr: Local locks meta is near output path, not input path 2018-11-19 09:02:35 -08:00
filesystem_lock_unix.go states/statemgr: Local locks meta is near output path, not input path 2018-11-19 09:02:35 -08:00
filesystem_lock_windows.go states/statemgr: Local locks meta is near output path, not input path 2018-11-19 09:02:35 -08:00
filesystem_test.go states/statemgr: In Filesystem, back up output file, not input file 2018-11-19 09:02:35 -08:00
helper.go command: Use statemgr.Import and statemgr.Export for state push and pull 2018-11-19 09:02:35 -08:00
lineage.go command/state: update and fix the state push and pull 2018-10-19 19:12:23 +02:00
locker.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
migrate.go states/statemgr: Migrate, Import, and Export functions 2018-11-19 09:02:35 -08:00
migrate_test.go states/statemgr: Migrate, Import, and Export functions 2018-11-19 09:02:35 -08:00
persistent.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
plan.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
snapshotmetarel_string.go states/statemgr: Migrate, Import, and Export functions 2018-11-19 09:02:35 -08:00
statemgr.go statemgr: Helper funcs RefreshAndRead and WriteAndPersist 2018-10-16 18:58:49 -07:00
statemgr_fake.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
statemgr_test.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
testing.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
transient.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
transient_inmem.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00