mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
wrong instance key in test state
This was never picked up by the tests until now
This commit is contained in:
parent
8658424059
commit
312317abd0
@ -830,7 +830,7 @@ func testPlanState_tainted() *states.State {
|
|||||||
Mode: addrs.ManagedResourceMode,
|
Mode: addrs.ManagedResourceMode,
|
||||||
Type: "test_instance",
|
Type: "test_instance",
|
||||||
Name: "foo",
|
Name: "foo",
|
||||||
}.Instance(addrs.IntKey(0)),
|
}.Instance(addrs.NoKey),
|
||||||
&states.ResourceInstanceObjectSrc{
|
&states.ResourceInstanceObjectSrc{
|
||||||
Status: states.ObjectTainted,
|
Status: states.ObjectTainted,
|
||||||
AttrsJSON: []byte(`{
|
AttrsJSON: []byte(`{
|
||||||
|
Loading…
Reference in New Issue
Block a user