mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-10 20:00:59 -05:00
The fallback type for GetResource from an EachMap is a cty.Object, because resource schemas may contain dynamically typed attributes. Check for an Object type in the evaluation of self, to use the proper GetAttr method when extracting the value.