diff --git a/lang/funcs/collection_test.go b/lang/funcs/collection_test.go index a3215d9d5..202275ddc 100644 --- a/lang/funcs/collection_test.go +++ b/lang/funcs/collection_test.go @@ -1287,7 +1287,7 @@ func TestLookup(t *testing.T) { }), cty.UnknownVal(cty.String), }, - cty.UnknownVal(cty.String), + cty.DynamicVal, // if the key is unknown then we don't know which object attribute and thus can't know the type false, }, }