def modify_project(self, project_id, manager_uid=None, description=None):
        if not manager_uid and not description:
            return
        values = {}
        if manager_uid:
            manager = db.user_get(context.get_admin_context(), manager_uid)
            if not manager:
                raise exception.UserNotFound(user_id=manager_uid)
            values['project_manager'] = manager['id']
        if description:
            values['description'] = description

        db.project_update(context.get_admin_context(), project_id, values)
        if not self.is_in_project(manager_uid, project_id):
            self.add_to_project(manager_uid, project_id)
Method to create the instance profile with the role
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/auth/dbdriver.py/DbDriver.modify_project--crossover with--dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py/CreateDefaultRoles._create_instance_profile_with_role