mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-11 08:05:33 -06:00
5e3d2dbdfa
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.
4 lines
50 B
HCL
4 lines
50 B
HCL
data "test_resource" "t" {
|
|
provider = my_test
|
|
}
|