Back to plugin list
vercel
Official
Premium

Vercel

The CloudQuery Vercel plugin pulls configuration out of Vercel resources and loads it into any supported CloudQuery destination

Publisher

cloudquery

Latest version

v3.2.2

Type

Source

Platforms
Date Published

Nov 16, 2023

Price per 1M rows

$100

free quota

1M rows

Set up process


brew install cloudquery/tap/cloudquery

1. Download CLI and login

See installation options

2. Create source and destination configs

Plugin configuration

cloudquery sync vercel.yml postgresql.yml

3. Run the sync

CloudQuery sync

Overview

The CloudQuery Vercel plugin syncs the Vercel configurations and resources and loads it into any supported CloudQuery destination (e.g. PostgreSQL, BigQuery, Snowflake, and more).

Authentication

In order to fetch information from Tailscale, cloudquery needs to be authenticated. The suggested way is to use an OAuth client. The previous way of using an API key is also supported.

Configuration

kind: source
# Common source-plugin configuration
spec:
  name: vercel
  path: cloudquery/vercel
  registry: cloudquery
  version: "v3.1.1"
  tables: ["*"]
  destinations: ["postgresql"]
  # Plugin specific configuration
  spec:
    access_token: "<YOUR_ACCESS_TOKEN_HERE>"

Vercel Spec

This is the (nested) spec used by the Vercel source plugin:
  • access_token (string) (required)
    An access token for your Vercel account. Get yours from Vercel's Account Tokens Page.
  • team_ids ([]string) (optional)
    A list of team IDs to sync. If not specified, all teams will be synced. To find the ID of a specific team, refer to Vercel Docs.
  • endpoint_url (string) (optional) (default: https://api.vercel.com)
    API endpoint URL to use. For Vercel's production API, this should be https://api.vercel.com.
  • timeout_secs (integer) (optional) (default: 5)
    Timeout (in seconds) for requests against the Vercel REST API.
  • max_retries (integer) (optional) (default: 10)
    Maximum number of retries for requests against the Vercel REST API.
  • max_wait_secs (integer) (optional) (default: 300)
    Maximum wait time (in seconds) between rate limited API requests. The plugin waits until the rate limit resets. If there's a need to wait longer than this time, the request will fail.
  • page_size (integer) (optional) (default: 100)
    Number of items to request in each API call. This is a tradeoff between the number of API calls and the number of items per API call, which might take too long. The maximum allowed value is 100.
  • concurrency (integer) (optional) (default: 10000)
    Number of concurrent requests to Vercel REST API.


Subscribe to product updates

Be the first to know about new features.