github.com/chalford/terraform@v0.3.7-0.20150113080010-a78c69a8c81f/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  description: |-
     6    The Heroku provider is used to interact with the resources supported by Heroku. The provider needs to be configured with the proper credentials before it can be used.
     7  ---
     8  
     9  # Heroku Provider
    10  
    11  The Heroku provider is used to interact with the
    12  resources supported by Heroku. The provider needs to be configured
    13  with the proper credentials before it can be used.
    14  
    15  Use the navigation to the left to read about the available resources.
    16  
    17  ## Example Usage
    18  
    19  ```
    20  # Configure the Heroku provider
    21  provider "heroku" {
    22      email = "ops@company.com"
    23  	api_key = "${var.heroku_api_key}"
    24  }
    25  
    26  # Create a new application
    27  resource "heroku_app" "default" {
    28      ...
    29  }
    30  ```
    31  
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `api_key` - (Required) Heroku API token
    37  * `email` - (Required) Email to be notified by Heroku
    38