Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eonx-com/terraform-provider-vercel
Vercel Terraform Provider
https://github.com/eonx-com/terraform-provider-vercel
Last synced: 9 days ago
JSON representation
Vercel Terraform Provider
- Host: GitHub
- URL: https://github.com/eonx-com/terraform-provider-vercel
- Owner: eonx-com
- License: mpl-2.0
- Created: 2021-08-05T02:32:24.000Z (over 3 years ago)
- Default Branch: release
- Last Pushed: 2023-09-25T00:32:03.000Z (about 1 year ago)
- Last Synced: 2024-06-19T17:32:51.780Z (5 months ago)
- Language: Go
- Homepage:
- Size: 179 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Roadmap: Roadmap.md
Awesome Lists containing this project
README
# Terraform Provider for Vercel
Configure vercel resources such as projects, deployments and secrets as code with terraform.
## Quickstart
1. Create a token [here](https://vercel.com/account/tokens)
2. Create a `vercel.tf` file with the following content.
- Replace `` with the token from step 1.
- Change the `git_repository` to whatever you want to deploy.```tf
terraform {
required_providers {
vercel = {
source = "hashicorp.com/chronark/vercel"
version = "1.0.0"
}
}
}provider "vercel" {
token = ""
}resource "vercel_project" "my_project" {
name = "mercury-via-terraform"
git_repository {
type = "github"
repo = "chronark/mercury"
}
}
```3. Run
```sh
terraform init
terraform apply
```4. Check vercel's [dashboard](https://vercel.com/dashboard) to see your project.
5. Push to the default branch of your repository to create your first deployment.## Documentation
Documentation can be found [here](https://registry.terraform.io/providers/chronark/vercel/latest/docs)
## Development Requirements
- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.x
- [Go](https://golang.org/doc/install) >= 1.15