github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/website/source/docs/providers/heroku/index.html.markdown (about)

     1  ---
     2  layout: "heroku"
     3  page_title: "Provider: Heroku"
     4  sidebar_current: "docs-heroku-index"
     5  ---
     6  
     7  # Heroku Provider
     8  
     9  The Heroku provider is used to interact with the
    10  resources supported by Heroku. The provider needs to be configured
    11  with the proper credentials before it can be used.
    12  
    13  Use the navigation to the left to read about the available resources.
    14  
    15  ## Example Usage
    16  
    17  ```
    18  # Configure the Heroku provider
    19  provider "heroku" {
    20      email = "ops@company.com"
    21  	api_key = "${var.heroku_api_key}"
    22  }
    23  
    24  # Create a new application
    25  resource "heroku_app" "default" {
    26      ...
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `api_key` - (Required) Heroku API token
    35  * `email` - (Required) Email to be notified by Heroku
    36