def METHOD_NAME(connector: ConnectorQAReport, metadata_file_path: Path) -> Optional[Path]:
    with open(metadata_file_path, "r") as f:
        metadata = yaml.load(f)
        connector_already_enabled_in_cloud = get(metadata, "data.registries.cloud.enabled", False)
    if connector_already_enabled_in_cloud:
        logger.warning(f"{connector.connector_name}'s definition id is already in {metadata_file_path}.")
        return None
    set_(metadata, "data.registries.cloud.enabled", True)
    with open(metadata_file_path, "w") as f:
        yaml.dump(metadata, f)
    logger.info(f"Updated {metadata_file_path} to enable {connector.connector_name} in Cloud.")
    return metadata_file_path