Skip to content

Commit

Permalink
add config path to heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed May 21, 2022
1 parent 75aa6af commit 9be26df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/heroku/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resource "heroku_app" "app" {

config_vars = {
GOVERSION = "1.18"
CONFIG = "${var.config_path}"
}

buildpacks = [
Expand Down
5 changes: 5 additions & 0 deletions terraform/heroku/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ variable "instance_type" {
type = string
default = "free"
}

variable "config_path" {
type = string
default = "https://gist.githubusercontent.com/ddosukraine2022/f739250dba308a7a2215617b17114be9/raw/db1000n_targets.json"
}

0 comments on commit 9be26df

Please sign in to comment.