def METHOD_NAME(self, resources):
    for resource in resources:
        if 'id' in resource:
            resource['resourceGroup'] = ResourceIdParser.get_resource_group(resource['id'])
    return resources