terraform/backend/local
Alisdair McDiarmid 5ca118b4e6 cli: Move resource count code to command package
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.
2021-01-29 15:29:35 -05:00
..
testdata cli: Move resource count code to command package 2021-01-29 15:29:35 -05:00
backend.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
backend_apply.go cli: Move resource count code to command package 2021-01-29 15:29:35 -05:00
backend_apply_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_local.go set SkipRefresh for plan and apply 2020-12-10 09:47:13 -05:00
backend_local_test.go * backend/local: push responsibility for unlocking state into individual operations 2020-08-11 11:23:42 -04:00
backend_plan.go cli: Move resource count code to command package 2021-01-29 15:29:35 -05:00
backend_plan_test.go cli: Move resource count code to command package 2021-01-29 15:29:35 -05:00
backend_refresh.go insert PlanRefresh into the context 2020-09-24 09:34:49 -04:00
backend_refresh_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
cli.go backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
hook_state.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
hook_state_test.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
local_test.go use a single log writer 2020-10-19 14:29:54 -04:00
testing.go Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00