Vercel DNS Adapter
Reference doc for the `sst.vercel.dns` adapter.
The Vercel DNS Adapter is used to create DNS records to manage domains hosted on Vercel.
This adapter is passed in as domain.dns
when setting a custom domain; where example.com
is hosted on Vercel.
Configure provider
-
To use this component, add the
@pulumiverse/vercel
provider to your app. -
If you don’t already have a Vercel Access Token, follow this guide to create one.
-
Add a
VERCEL_API_TOKEN
environment variable with the access token value. If the domain belongs to a team, also add aVERCEL_TEAM_ID
environment variable with the Team ID. You can find your Team ID inside your team’s general project settings in the Vercel dashboard.
Functions
dns
DnsArgs
domain
Type Input
<
string
>
The domain name in your Vercel account to create the record in.
transform?
transform.record?
Type DnsRecordArgs
|
(
args
:
DnsRecordArgs
,
opts
:
ComponentResourceOptions
,
name
:
string
)
=>
void
Transform the Vercel record resource.