ops: move heroku_email to vars, set vercel framework

This commit is contained in:
Vyacheslav Matyukhin 2022-04-12 11:15:33 +03:00
parent 328fdd69bd
commit 473a372515
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
2 changed files with 8 additions and 3 deletions

View File

@ -29,7 +29,7 @@ provider "digitalocean" {
} }
provider "heroku" { provider "heroku" {
email = "me@berekuk.ru" email = var.heroku_email
api_key = var.heroku_api_key api_key = var.heroku_api_key
} }
@ -58,6 +58,7 @@ resource "heroku_app" "metaforecast_backend" {
resource "vercel_project" "metaforecast" { resource "vercel_project" "metaforecast" {
name = "metaforecast" name = "metaforecast"
team_id = var.vercel_team team_id = var.vercel_team
framework = "nextjs"
git_repository { git_repository {
type = "github" type = "github"

View File

@ -10,6 +10,10 @@ variable "heroku_api_key" {
type = string type = string
} }
variable "heroku_email" {
type = string
}
variable "vercel_team" { variable "vercel_team" {
type = string type = string
default = "quantified-uncertainty" default = "quantified-uncertainty"