5ca118b4e6
CountHook is an implementation of terraform.Hook which is used to calculate how many resources were added, changed, or destroyed during an apply. This hook was previously injected in the local backend code, which means that the apply command code has no access to these counts. This commit moves the CountHook code into the command package, and removes an unused instance of the hook in the plan code path. The goal here is moving UI code into the command package. |
||
---|---|---|
.. | ||
testdata | ||
backend.go | ||
backend_apply.go | ||
backend_apply_test.go | ||
backend_common.go | ||
backend_context.go | ||
backend_context_test.go | ||
backend_mock.go | ||
backend_plan.go | ||
backend_plan_test.go | ||
backend_state.go | ||
backend_state_test.go | ||
backend_test.go | ||
cli.go | ||
colorize.go | ||
remote_test.go | ||
testing.go |