Back to source 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.7.1

Type

Source

Platforms
Date Published

Price per 1M rows

Starting from $15

monthly 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.7.1"
  tables: ["*"]
  destinations: ["postgresql"]
  # Plugin specific configuration
  # Learn more about the configuration options at https://cql.ink/vercel_source
  spec:
    # required
    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)
    A best effort maximum number of Go routines to use. Lower this number to reduce memory usage.
  • scheduler (string) (optional) (default: dfs)
    The scheduler to use when determining the priority of resources to sync. Supported values are dfs (depth-first search), round-robin, shuffle and shuffle-queue.
    For more information about this, see performance tuning.


Join our mailing list

Subscribe to our newsletter to make sure you don't miss any updates.

Legal

© 2024 CloudQuery, Inc. All rights reserved.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.