diff --git a/decoder/reference_targets_collect_hcl_test.go b/decoder/reference_targets_collect_hcl_test.go index b2613c74..46127550 100644 --- a/decoder/reference_targets_collect_hcl_test.go +++ b/decoder/reference_targets_collect_hcl_test.go @@ -3909,7 +3909,7 @@ provider "test" { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.Tuple([]cty.Type{cty.String}), + Type: cty.DynamicPseudoType, RangePtr: &hcl.Range{ Filename: "test.tf", Start: hcl.Pos{ @@ -3984,7 +3984,7 @@ provider "test" { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.List(cty.String), + Type: cty.List(cty.DynamicPseudoType), RangePtr: &hcl.Range{ Filename: "test.tf", Start: hcl.Pos{ diff --git a/decoder/reference_targets_collect_json_test.go b/decoder/reference_targets_collect_json_test.go index a23c7ddc..5fd2ecf7 100644 --- a/decoder/reference_targets_collect_json_test.go +++ b/decoder/reference_targets_collect_json_test.go @@ -3816,7 +3816,7 @@ func TestCollectReferenceTargets_json(t *testing.T) { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.Tuple([]cty.Type{cty.String}), + Type: cty.DynamicPseudoType, RangePtr: &hcl.Range{ Filename: "test.tf.json", Start: hcl.Pos{ @@ -3893,7 +3893,7 @@ func TestCollectReferenceTargets_json(t *testing.T) { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.List(cty.String), + Type: cty.List(cty.DynamicPseudoType), RangePtr: &hcl.Range{ Filename: "test.tf.json", Start: hcl.Pos{