mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-25 23:00:24 -04: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.