opentofu/internal/configs/testdata/invalid-files
Alisdair McDiarmid 64cf53bd7e configs: Fix check block configuration diagnostics
When validating self-references for resource and data source
preconditions and postconditions, we previously did not nil-check the
block's condition field, which caused a panic when the block had no
condition.

While fixing this I noticed that we were not validating that there are
no self-references in the error message, so fixed that.
2022-06-21 12:13:45 -04: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
everything-is-a-plan.tf configs: add decodeMovedBlock behind a locked gate. (#28973) 2021-06-21 10:53:16 -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
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-badref.tf core: Check rule error message expressions 2022-03-04 15:35:39 -05:00
variable-validation-condition-noref.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
version-variable.tf Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
zerolen.tf.json Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00