mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-14 01:13:59 -06:00
In the acceptance testing framework, it is neccessary to provide a copy of the state _before_ the destroy is applied to the check in order that it can loop over resources to verify their destruction. This patch makes a deep copy of the state prior to applying test steps which have the Destroy option set and then passes that to the destroy check. |
||
---|---|---|
.. | ||
id_test.go | ||
id.go | ||
map_test.go | ||
map.go | ||
resource.go | ||
state_test.go | ||
state.go | ||
testing_test.go | ||
testing.go | ||
wait_test.go | ||
wait.go |