heroku_app_webhook

Provides a Heroku App Webhook.

Example Usage

# Create a new Heroku app
resource "heroku_app" "foobar" {
  name = "foobar"
  region = "us"
}

# Add a web-hook for the app
resource "heroku_app_webhook" "foobar_release" {
  app_id  = heroku_app.foobar.id
  level   = "notify"
  url     = "https://example.com/heroku_webhook"
  include = ["api:release"]
}

Argument Reference

The following arguments are supported:

Importing

Existing webhooks can be imported using the combination of the application name or id, a colon, and the webhook name or id, e.g.

$ terraform import heroku_app_webhook.foobar_release foobar:b85d9224-310b-409b-891e-c903f5a40568