opentofu/helper/resource
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
..
error.go helper/resource: Remove NotFoundError function 2016-03-21 16:47:50 +00:00
id_test.go helper/resource: add UniqueId() helper 2015-04-22 12:53:05 -05:00
id.go helper: Add resource.PrefixedUniqueId 2015-06-30 12:54:54 +01:00
map_test.go helper/resource: automatically validate resources 2014-07-08 10:17:36 -07:00
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state_test.go helper: Add StateChangeConf.ContinuousTargetOccurence (int) 2016-02-23 20:18:57 +00:00
state.go helper: Add StateChangeConf.ContinuousTargetOccurence (int) 2016-02-23 20:18:57 +00:00
testing_config.go helper/resource: basic ImportState acceptance testing 2016-05-11 13:02:37 -07:00
testing_import_state_test.go helper/resource: ImportState test can verify states 2016-05-11 13:02:37 -07:00
testing_import_state.go helper/resource: ImportState test can verify states 2016-05-11 13:02:37 -07:00
testing_test.go helper/resource: make id-only check opt-in 2016-04-21 08:37:08 -07:00
testing.go core: Use OutputState in JSON instead of map 2016-05-18 13:25:20 -05:00
wait_test.go helper/resource: Fix TestRetry 2016-03-10 14:13:23 +00:00
wait.go helper/resource: Error shouldn't be returned in case of success 2016-03-10 14:14:14 +00:00