def add(isamAppliance, service_name, name, value, check_mode=False, force=False):
    """
    Creates a service attribute
    """

    check_value, warnings = _check(isamAppliance, service_name, name)
    if force is True or check_value is False:
        if check_mode is True:
            return isamAppliance.create_return_object(changed=True, warnings=warnings)
        else:
            return isamAppliance.invoke_post("Creating a service attribute",
                                             "{0}{1}/attributes".format(module_uri, service_name),
                                             {
                                                 "name": name,
                                                 "value": value
                                             }, requires_version=requires_versions,
                                             requires_modules=requires_modules, requires_model=requires_model)
    else:
        return isamAppliance.create_return_object(warnings=warnings)