terraform/configs/testdata/invalid-files
Kristin Laemmert 9cb8456f3d
configs: prevent panic with invalid type name (#25562)
An invalid type name in a resource (or data source) could cause a panic
when determining the implied provider for the resource. This commit adds
verification that the type name is valid. It does not add a diagnostic,
since the invalid type name would have already been caught by the
parser.

Fixes #25560
2020-07-13 09:47:16 -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-name-invalid.tf configs: prevent panic with invalid type name (#25562) 2020-07-13 09:47:16 -04: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