Skip to content

Commit

Permalink
We need Sentry both on staging and production
Browse files Browse the repository at this point in the history
  • Loading branch information
julien731 committed Nov 1, 2018
1 parent 8c44c13 commit e40546b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions heroku/heroku.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ resource "heroku_addon" "database" {
plan = "${terraform.workspace == "staging" ? var.postgres_plan_staging : var.postgres_plan}"
}

# Only enable Sentry for Production
resource "heroku_addon" "sentry" {
count = "${terraform.workspace == "staging" ? 0 : 1}"
app = "${heroku_app.default.name}"
plan = "${var.sentry_plan}"
}
Expand Down

0 comments on commit e40546b

Please sign in to comment.