vendor: github.com/zclconf/go-cty v1.16.0

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-01-13 18:00:34 +01:00
parent 26026810fe
commit 66ecb53fa7
8 changed files with 38 additions and 28 deletions

View File

@ -162,7 +162,7 @@ func conversionCollectionToMap(ety cty.Type, conv conversion) conversion {
if ety == cty.DynamicPseudoType {
return cty.MapValEmpty(val.Type().ElementType()), nil
}
return cty.MapValEmpty(ety), nil
return cty.MapValEmpty(ety.WithoutOptionalAttributesDeep()), nil
}
if ety.IsCollectionType() || ety.IsObjectType() {