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" {
|
||||
email = "me@berekuk.ru"
|
||||
email = var.heroku_email
|
||||
api_key = var.heroku_api_key
|
||||
}
|
||||
|
||||
|
@ -56,8 +56,9 @@ resource "heroku_app" "metaforecast_backend" {
|
|||
}
|
||||
|
||||
resource "vercel_project" "metaforecast" {
|
||||
name = "metaforecast"
|
||||
team_id = var.vercel_team
|
||||
name = "metaforecast"
|
||||
team_id = var.vercel_team
|
||||
framework = "nextjs"
|
||||
|
||||
git_repository {
|
||||
type = "github"
|
||||
|
|
|
@ -10,6 +10,10 @@ variable "heroku_api_key" {
|
|||
type = string
|
||||
}
|
||||
|
||||
variable "heroku_email" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vercel_team" {
|
||||
type = string
|
||||
default = "quantified-uncertainty"
|
||||
|
|
Loading…
Reference in New Issue
Block a user