github.com/adamar/terraform@v0.2.2-0.20141016210445-2e703afdad0e/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  ---
     6  
     7  # heroku\_drain
     8  
     9  Provides a Heroku Drain resource. This can be used to
    10  create and manage Log Drains on Heroku.
    11  
    12  ## Example Usage
    13  
    14  ```
    15  resource "heroku_drain" "default" {
    16      app = "test-app"
    17      url = "syslog://terraform.example.com:1234"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `url` - (Required) The URL for Heroku to drain your logs to
    26  * `app` - (Required) The Heroku app to link to.
    27  
    28  ## Attributes Reference
    29  
    30  The following attributes are exported:
    31  
    32  * `token` - The unique token for your created drain
    33