Commit 2c74b97
Use pre-apply state when destroying.
We want to use the pre-apply state when destroying for checks when
TestStep.Destroy is true, because the state after is going to be empty.
This preserves the behavior of v1 and before, which providers may be
relying on.1 parent 33a47c7 commit 2c74b97
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| |||
0 commit comments