providers/heroku: Add heroku-postgres to example

This commit is contained in:
Justin Campbell 2015-03-31 16:23:20 -07:00
parent 6d3425f961
commit 9b3826cf36
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ resource "heroku_app" "default" {
name = "test-app"
}
# Create a database, and configure the app to use it
resource "heroku_addon" "database" {
app = "${heroku_app.default.name}"
plan = "heroku-postgresql:hobby-basic"
}
# Add a web-hook addon for the app
resource "heroku_addon" "webhook" {
app = "${heroku_app.default.name}"