wrong instance key in test state

This was never picked up by the tests until now
This commit is contained in:
James Bardin 2020-09-16 13:56:08 -04:00
parent 8658424059
commit 312317abd0
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ func testPlanState_tainted() *states.State {
Mode: addrs.ManagedResourceMode,
Type: "test_instance",
Name: "foo",
}.Instance(addrs.IntKey(0)),
}.Instance(addrs.NoKey),
&states.ResourceInstanceObjectSrc{
Status: states.ObjectTainted,
AttrsJSON: []byte(`{