github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/heroku/r/drain.html.markdown (about) 1 --- 2 layout: "heroku" 3 page_title: "Heroku: heroku_drain" 4 sidebar_current: "docs-heroku-resource-drain" 5 description: |- 6 Provides a Heroku Drain resource. This can be used to create and manage Log Drains on Heroku. 7 --- 8 9 # heroku\_drain 10 11 Provides a Heroku Drain resource. This can be used to 12 create and manage Log Drains on Heroku. 13 14 ## Example Usage 15 16 ``` 17 resource "heroku_drain" "default" { 18 app = "test-app" 19 url = "syslog://terraform.example.com:1234" 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `url` - (Required) The URL for Heroku to drain your logs to. 28 * `app` - (Required) The Heroku app to link to. 29 30 ## Attributes Reference 31 32 The following attributes are exported: 33 34 * `token` - The unique token for your created drain. 35