core: Fix TestContext2Apply_error
core: Fix TestContext2Apply_error

An error during create now causes the object (if non-null) to be marked as
tainted in the state, so our expected final state must reflect that.

rnaveiras/terraform,VladRassokhin/terraform,heimweh/terraform,iljaskevic/terraform,iljaskevic/terraform,drebes/terraform,brandontosch/terraform,brandontosch/terraform,apparentlymart/terraform,apparentlymart/terraform,iljaskevic/terraform,hashicorp/terraform,pradeepbhadani/terraform,iljaskevic/terraform,tommynsong/terraform,VladRassokhin/terraform,heimweh/terraform,apparentlymart/terraform,ewbankkit/terraform,gechr/terraform,VladRassokhin/terraform,drebes/terraform,pryorda/terraform,youhong316/terraform,pradeepbhadani/terraform,tommynsong/terraform,luis-silva/terraform,tpounds/terraform,ewbankkit/terraform,pryorda/terraform,pradeepbhadani/terraform,youhong316/terraform,tpounds/terraform,nlamirault/terraform,heimweh/terraform,mattray/terraform,luis-silva/terraform,apparentlymart/terraform,tommynsong/terraform,drebes/terraform,nlamirault/terraform,luis-silva/terraform,pdecat/terraform,rnaveiras/terraform,gechr/terraform,luis-silva/terraform,ewbankkit/terraform,youhong316/terraform,VladRassokhin/terraform,gechr/terraform,apparentlymart/terraform,drebes/terraform,pdecat/terraform,pryorda/terraform,nlamirault/terraform,mattray/terraform,brandontosch/terraform,mattray/terraform,heimweh/terraform,pdecat/terraform,pdecat/terraform,brandontosch/terraform,brandontosch/terraform,tpounds/terraform,ewbankkit/terraform,hashicorp/terraform,mattray/terraform,heimweh/terraform,tpounds/terraform,rnaveiras/terraform,hashicorp/terraform,youhong316/terraform