mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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:
parent
3627ce5a50
commit
e0cbdd0c4a
@ -750,7 +750,7 @@ const testTerraformApplyDestroyStr = `
|
||||
`
|
||||
|
||||
const testTerraformApplyErrorStr = `
|
||||
aws_instance.bar:
|
||||
aws_instance.bar: (tainted)
|
||||
ID = bar
|
||||
provider = provider.aws
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user