opentofu/internal/states
Martin Atkins f36fd65dbd states: SyncState.ResourceInstanceObjectFull tolerate missing resource
This was previously dealing okay with the case where a resource doesn't
have the requested instance, but was not handling the situation where the
resource doesn't exist at all yet.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-12 07:03:52 -08:00
..
remote Remove all calls to DeepCopy in resource instance write codepath (#3110) 2025-09-02 07:24:53 -04:00
statefile Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
statemgr Replace github.com/go-test/deep with go-cmp 2025-10-13 08:17:40 -07:00
checks.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
instance_generation.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
instance_object.go Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
instance_object_full.go states: SyncState.ResourceInstanceObjectFull tolerate missing resource 2025-12-12 07:03:52 -08:00
instance_object_full_test.go states: "full" variants of the ResourceInstanceObject representations 2025-12-05 12:27:12 -08:00
instance_object_src.go Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
instance_object_test.go add deprecation warnings support for terraform_remote_state (#2679) 2025-04-25 12:26:28 +03:00
module.go Fix nil entry in state resource instance map from state hook (#3478) 2025-11-06 16:28:36 -05:00
objectstatus_string.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
output_value.go add deprecation warnings support for terraform_remote_state (#2679) 2025-04-25 12:26:28 +03:00
resource.go Smarter approach to .Equals on state objects for unordered lists (#3024) 2025-07-14 09:26:24 -04:00
resource_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
state.go Reduce calls to state DeepCopy() by half during apply (#3011) 2025-08-26 14:36:01 -04:00
state_deepcopy.go Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
state_equal.go Smarter approach to .Equals on state objects for unordered lists (#3024) 2025-07-14 09:26:24 -04:00
state_string.go hcl2shim: Split out legacy subset 2025-07-10 08:13:25 -07:00
state_test.go Replace github.com/go-test/deep with go-cmp 2025-10-13 08:17:40 -07:00
sync.go Reduce calls to state DeepCopy() by half during apply (#3011) 2025-08-26 14:36:01 -04:00