terraform/internal/configs/testdata/invalid-files
Daniel Banck 4ef9684188 Rework most of the configuration loading
We previously used a loader -> BuildConfig flow to load configuration.
This commit changes most (but not all yet) flows to use the new
graph-based approach. Instead of simply recursively loading the modules,
we now need to take a stepped approach:

1. Load the root module
2. Collect the variables and their values
3. Build the configuration with the graph-based approach

Because this approach relies on different parts from different packages,
it can't easliy be done within the `configload` package. So, now we do
most of in the backend or command.
2026-03-04 11:45:59 +01:00
..
data-count-and-for_each.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
data-invalid-provider-reference.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
data-reserved-locals.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
data-resource-lifecycle.tf configs: Decode preconditions and postconditions 2022-01-28 11:00:29 -05:00
ephemeral-invalid-lifecycle.tf ephemeral configs test files 2024-09-13 09:34:39 -04:00
ephemeral-invalid-name.tf ephemeral configs test files 2024-09-13 09:34:39 -04:00
everything-is-a-plan.tf configs: add decodeMovedBlock behind a locked gate. (#28973) 2021-06-21 10:53:16 -04:00
import-for-each.tf handle to expression from json files 2023-09-26 11:37:35 -04:00
import-for-each.tf.json handle to expression from json files 2023-09-26 11:37:35 -04:00
interp-in-data-label.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
interp-in-rsrc-label.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
json-as-native-syntax.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
module-calls.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
native-syntax-as-json.tf.json Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
precondition-postcondition-badref.tf configs: Fix check block configuration diagnostics 2022-06-21 12:13:45 -04:00
precondition-postcondition-missing-condition.tf configs: Fix check block configuration diagnostics 2022-06-21 12:13:45 -04:00
provider-localname-normalization.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
provider-reserved.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
provider-syntax.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-count-and-for_each.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-invalid-provider-reference.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-lifecycle-badbool.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-name-invalid.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-reserved-locals.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
resource-rtb.tf.json handle to expression from json files 2023-09-26 11:37:35 -04:00
resources-ignorechanges-all-legacymix.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
triggered-invalid-each.tf parse replace_triggered_by in resource configs 2022-04-20 09:17:10 -04:00
triggered-invalid-expression.tf parse replace_triggered_by in resource configs 2022-04-20 09:17:10 -04:00
unexpected-attr.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
unexpected-block.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
variable-bad-default.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
variable-bad-sensitive.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
variable-type-unknown.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
variable-validation-condition-noref.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
variable-validation-condition-noself.tf variable validation rules must still point to self 2024-06-03 16:15:40 -04:00
zerolen.tf.json Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00