heroku/terraform-provider-heroku

Data source to read all addons of an app

Closed this issue · 0 comments

Are there any plans for a data source to read addons of an app (or an attribute for the app data source) ? The API supports it (/apps/<<app_name>>/addons).
I'm trying to solve the flow in which I provision 2 apps and one of them needs to attach the database of the other. I was thinking that I can look for the database addon name in the list of the other app addons.

Any other suggestions ?