Commit 209da4c9 authored by Vincent's avatar Vincent

Merge branch '153-upgrade-heroku-postgres-plan' into 'master'

Use Heroku's Hobby Basic Postgres plan on prod

Closes #153

See merge request !130
parents d76fe380 57ec97e2
Pipeline #58930289 failed with stages
in 37 minutes and 30 seconds
......@@ -76,7 +76,7 @@ resource "heroku_app" "heroku_app" {
resource "heroku_addon" "database" {
app = "${heroku_app.heroku_app.name}"
plan = "heroku-postgresql:hobby-dev"
plan = "${data.template_file.subdomain.rendered == "www" ? "heroku-postgresql:hobby-basic" : "heroku-postgresql:hobby-dev"}"
}
resource "heroku_domain" "plaudit_heroku_domain" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment