I am trying to pass key, value pair to a resource and using the key as an attribute and its value as attributes value. But it throws an error message
each.key