terraform/state
James Nugent 3ea3c657b5 core: Use OutputState in JSON instead of map
This commit forward ports the changes made for 0.6.17, in order to store
the type and sensitive flag against outputs.

It also refactors the logic of the import for V0 to V1 state, and
fixes up the call sites of the new format for outputs in V2 state.

Finally we fix up tests which did not previously set a state version
where one is required.
2016-05-18 13:25:20 -05:00
..
remote core: Use OutputState in JSON instead of map 2016-05-18 13:25:20 -05:00
backup.go state: backup state 2015-02-23 15:13:54 -08:00
backup_test.go state: backup state 2015-02-23 15:13:54 -08:00
cache.go state: cache should use State.Equal to check equality 2015-04-07 15:03:04 -07:00
cache_test.go
inmem.go state: deep copies are required 2015-02-23 21:36:58 -08:00
inmem_test.go state: InmemState 2015-02-23 15:13:55 -08:00
local.go state: deep copies are required 2015-02-23 21:36:58 -08:00
local_test.go state: LocalState supports alternate output path 2015-02-23 15:13:54 -08:00
state.go command: start migrating to new state package 2015-02-23 15:13:54 -08:00
testing.go core: Use OutputState in JSON instead of map 2016-05-18 13:25:20 -05:00