Skip to content

Commit

Permalink
Move the organization name to the variables file
Browse files Browse the repository at this point in the history
  • Loading branch information
julien731 committed Nov 1, 2018
1 parent e40546b commit 73f36f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion heroku/heroku.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "heroku_app" "default" {
name = "${var.app_name}-${terraform.workspace}"
region = "${var.region}"
organization = {
name = "nimbl3"
name = "${var.app_organization}"
}
}

Expand Down
5 changes: 5 additions & 0 deletions heroku/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 73f36f2

Please sign in to comment.