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.
This commit is contained in:
Martin Atkins 2018-09-17 16:59:28 -07:00
parent 3627ce5a50
commit e0cbdd0c4a

View File

@ -750,7 +750,7 @@ const testTerraformApplyDestroyStr = `
` `
const testTerraformApplyErrorStr = ` const testTerraformApplyErrorStr = `
aws_instance.bar: aws_instance.bar: (tainted)
ID = bar ID = bar
provider = provider.aws provider = provider.aws