opentofu/internal/plans
Nick Fagerlund f98f920b67 Add error wrapper types to highlight bad plan/state data
This commit uses Go's error wrapping features to transparently add some optional
info to certain planfile/state read errors. Specifically, we wrap errors when we
think we've identified the file type but are somehow unable to use it.

Callers that aren't interested in what we think about our input can just ignore
the wrapping; callers that ARE interested can use `errors.As()`.
2023-07-24 14:12:44 -04:00
..
internal/planproto main: Optionally configure an OpenTelemetry OTLP exporter 2023-07-14 10:24:10 -07:00
objchange plans/objchange: Support nested unknowns in our unrefinedValue shim 2023-06-22 13:16:43 -07:00
planfile Add error wrapper types to highlight bad plan/state data 2023-07-24 14:12:44 -04:00
action_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
action.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
changes_src.go Plannable import: Generate config for imported resources during the plan. (#33153) 2023-05-11 08:38:37 +02:00
changes_state.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
changes_sync.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
changes_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
changes.go Plannable import: Generate config for imported resources during the plan. (#33153) 2023-05-11 08:38:37 +02:00
doc.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
dynamic_value.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
mode_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plan_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plan.go [Testing Framework] Adds TestContext for evaluating test assertions (#33326) 2023-06-26 17:42:53 +02:00
quality_string.go New plans.Quality type for display-relevant facts about a plan 2023-07-24 14:12:44 -04:00
quality.go New plans.Quality type for display-relevant facts about a plan 2023-07-24 14:12:44 -04:00
resourceinstancechangeactionreason_string.go Checks: Introduce check blocks into the terraform node and transform graph (#32735) 2023-03-23 16:07:31 +01:00