百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

terraform-provider-vercel

> 数据库
开源

Terraform Vercel 提供程序

189 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Terraform Vercel 提供程序

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goterraformterraform-providervercel

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

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