terraform/configs/testdata/invalid-files
Alisdair McDiarmid 5e3d2dbdfa configs: Fail early for invalid resource provider
If a resource's "provider" reference is invalid and cannot be parsed, we
should not store the reference as part of a `ProviderConfigRef`. Doing
so creates an invalid data structure, which prevents us from using
`MustParseProviderPart` with the name in later steps.

The invalid test files added in this commit will cause a panic without
the code change.
2020-06-26 09:47:58 -04:00
..
data-count-and-for_each.tf Remove panic, update comment 2019-07-26 11:22:10 -04:00
data-invalid-provider-reference.tf configs: Fail early for invalid resource provider 2020-06-26 09:47:58 -04:00
data-reserved-lifecycle.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
data-reserved-locals.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
data-resource-lifecycle.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
interp-in-data-label.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
interp-in-rsrc-label.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
json-as-native-syntax.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
module-calls.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
native-syntax-as-json.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00
provider-localname-normalization.tf configs: require normalized provider local names (#24945) 2020-05-14 09:00:58 -04:00
provider-reserved.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
provider-syntax.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resource-count-and-for_each.tf Resource for_each 2019-07-22 10:51:16 -04:00
resource-invalid-provider-reference.tf configs: Fail early for invalid resource provider 2020-06-26 09:47:58 -04:00
resource-lifecycle-badbool.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resource-reserved-locals.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resources-ignorechanges-all-legacymix.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
unexpected-attr.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
unexpected-block.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
variable-bad-default.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
variable-type-unknown.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
variable-validation-bad-msg.tf configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
variable-validation-condition-badref.tf configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
variable-validation-condition-noref.tf configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
version-variable.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
zerolen.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00