ops: move heroku_email to vars, set vercel framework
This commit is contained in:
parent
328fdd69bd
commit
473a372515
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user