diff --git a/heroku/heroku.tf b/heroku/heroku.tf index 12aae0a8..dd6a5a33 100644 --- a/heroku/heroku.tf +++ b/heroku/heroku.tf @@ -6,7 +6,7 @@ resource "heroku_app" "default" { name = "${var.app_name}-${terraform.workspace}" region = "${var.region}" organization = { - name = "nimbl3" + name = "${var.app_organization}" } } diff --git a/heroku/variables.tf b/heroku/variables.tf index 39d05927..03f239e4 100644 --- a/heroku/variables.tf +++ b/heroku/variables.tf @@ -11,6 +11,11 @@ variable "app_name" { default = "nimbl3-terra-app" } +variable "app_organization" { + description = "Name of the organization the app will be under" + default = "nimbl3" +} + variable "region" { description = "Heroku hosting region" default = "us"