opentofu/internal/command/views
Martin Atkins 72dd14ca5c core: Do everything except the actual action for plans.NoOp
Previously we tried to early-exit before doing anything at all for any
no-op changes, but that means we also skip some ancillary steps like
evaluating any preconditions/postconditions.

Now we'll skip only the main action itself for plans.NoOp, and still run
through all of the other side-steps.

Since one of those other steps is emitting events through the hooks
interface, this means that now no-op actions are visible to hooks, whereas
before we always filtered them out before calling. I therefore added some
additional logic to the hooks to filter them out at the UI layer instead;
the decision for whether or not to report that we visited a particular
object and found no action required seems defensible as a UI-level concern
anyway.
2022-07-22 15:27:15 -07:00
..
json tfdiags: Treat unknown-related or sensitive-related messages differently 2022-06-23 13:52:23 -07:00
testdata/show cli: Migrate show command to use command arguments and views 2022-01-13 11:00:03 -06:00
apply_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
apply.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_count_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_count.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_json_test.go test fixture race 2022-04-20 15:01:17 -04:00
hook_json.go core: Do everything except the actual action for plans.NoOp 2022-07-22 15:27:15 -07:00
hook_ui_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_ui.go core: Do everything except the actual action for plans.NoOp 2022-07-22 15:27:15 -07:00
json_view_test.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
json_view.go json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
operation_test.go track contributing instances 2022-03-17 09:35:36 -04:00
operation.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
output_test.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
output.go de-linting 2021-09-01 11:36:21 -04:00
plan_test.go improve the contributing attributes filter 2022-03-30 10:04:48 -04:00
plan.go improve the contributing attributes filter 2022-03-30 10:04:48 -04:00
refresh_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
refresh.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
show_test.go cli: Migrate show command to use command arguments and views 2022-01-13 11:00:03 -06:00
show.go cli: Migrate show command to use command arguments and views 2022-01-13 11:00:03 -06:00
state_locker.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
validate_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
validate.go json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
view.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00