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
1 changed files with 1 additions and 1 deletions

View File

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