Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

terraform-provider-vercel

> 数据库
Open source

Terraform Vercel Provider

189 stars0 likes1 views
WebsiteGitHub

About

Terraform Vercel Provider

Vercel Terraform Provider

  • Terraform Website
  • Terraform Documentation for this Provider

Requirements

  • Terraform 1.11 or higher
  • mise

Building The Provider

Clone repository locally and run

bash
mise install
mise run build

Developing the Provider

Run mise install to install the pinned versions of Go, Terraform, GoReleaser, and the development tools.

To compile the provider, run mise run build. GoReleaser writes the provider binary beneath dist/.

bash
mise run build

On macOS and Linux, test a local provider build through the terraform mise task. It builds the provider and creates a temporary CLI configuration containing the development override, leaving your ~/.terraformrc unchanged.

bash
mise run terraform -- plan

To use a Terraform configuration outside this repository, pass its directory with -chdir:

bash
mise run terraform -- -chdir=/path/to/config plan
mise run terraform -- -chdir=/path/to/config apply
  • HashiCorp - Development Overrides for Provider developers.

Testing

Run the unit tests without creating Vercel resources:

bash
mise run test:unit

Run the acceptance tests with:

[!Note] This runs acceptance tests that will create real resources. You should expect that the full acceptance test suite will take some time to run.

The acceptance tests require a few environment variables to be set:

  • VERCEL_API_TOKEN - this can be generated at vercel.com/account/tokens
  • VERCEL_TERRAFORM_TESTING_TEAM - a Vercel team_id where resources can be created and destroyed
  • VERCEL_TERRAFORM_TESTING_GITHUB_REPO - a GitHub repository in the form 'org/repo' that can be used to trigger deployments
  • VERCEL_TERRAFORM_TESTING_BITBUCKET_REPO - a Bitbucket repository in the form 'project/repo' that can be used to trigger deployments
  • VERCEL_TERRAFORM_TESTING_GITLAB_REPO - a GitLab repository in the form 'project/repo' that can be used to trigger deployments
  • VERCEL_TERRAFORM_TESTING_DOMAIN - a Vercel testing domain that can be used for testing
  • VERCEL_TERRAFORM_TESTING_EXISTING_INTEGRATION - a Vercel integration that can be used for testing
bash
mise run test:acceptance

In order to run the tests with extra debugging context, prefix with TF_LOG (see the terraform documentation for details).

bash
TF_LOG=INFO mise run test:acceptance

To run a specific set of tests, use the -run flag and specify a regex pattern matching the test names.

bash
mise run test:acceptance -run 'TestAcc_Project*'

Building The Documentation

bash
mise run docs

The documentation is autogenerated from Description fields within the provider, and the examples directory. Building the documentation generates markdown in the docs folder, ready for deployment to Hashicorp.

  • To view the documentation:

    Paste /docs Markdown file content into https://registry.terraform.io/tools/doc-preview

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goterraformterraform-providervercel

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库