Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correctly evaluate self in for_each resources
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.
- Loading branch information