Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Heroku PostgreSQL Add-on Plan in Example Due to Removal of Free Tier #5

Open
89sundown opened this issue Oct 15, 2024 · 0 comments

Comments

@89sundown
Copy link

89sundown commented Oct 15, 2024

Hello, there is no longer a free tier in Heroku. The below line causes the build to fail because this addon does not exist. You can see all the plans in the heroku cli heroku addons:plans heroku-postgresql. I updated my code to the below and was able to get it working.

https://github.com/hashicorp/learn-terraform-heroku/blob/16188171f369352205f3276a0247375f225844e6/main.tf#L13

resource "heroku_addon" "postgres" {
  app  = heroku_app.example.id
  plan = "heroku-postgresql:essential-0" <-- existing cheapest service
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant