# Packages
No description provided by the author
# README
Terraform Provider for Vercel
This is a Terraform provider which is used to configure Vercel.
Requirements
Installing the provider
Enter the provider directory and run the following command:
make install
Using the provider
The provider requires the following environment variables:
Variable | Required | Description |
---|---|---|
VERCEL_TOKEN | ✅ | A valid Vercel API token |
VERCEL_TEAM_ID | - | A Vercel Team ID for working with a team rather than the token's user |
See the example directory for an example usage.
Importing existing resources
Any IDs of existing resources required for importing with the following commands can be found using the Vercel API
Vercel projects
Use the following format to import a Vercel project:
terraform import vercel_project.test_project <vercel-project-name>
Domains
Use the following format to import a domain:
terraform import vercel_project_domain.test_domain <vercel-project-name>:<domain-name>
Environmental Variables
Use the following format to import an env:
terraform import vercel_project_env.test_env <vercel-project-name>:<env-id>