--- layout: "heroku" page_title: "Heroku: heroku_addon" sidebar_current: "docs-heroku-resource-addon" --- # heroku\_addon Provides a Heroku Add-On resource. These can be attach services to a Heroku app. ## Example Usage ``` # Add a web-hook addon for the app resource "heroku_addon" "webhook" { app = "${heroku_app.foobar.name}" plan = "deployhooks:http" config { url = "http://google.com" } } ``` ## Argument Reference The following arguments are supported: * `app` - (Required) The Heroku app to add to. * `plan` - (Requried) The addon to add. * `config` - (Optional) Optional plan configuration. ## Attributes Reference The following attributes are exported: * `id` - The ID of the add-on * `name` - The add-on name * `plan` - The plan name * `provider_id` - The ID of the plan provider