github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/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. It must be provided, but it can also 37 be sourced from the `HEROKU_API_KEY` environment variable. 38 * `email` - (Required) Email to be notified by Heroku. It must be provided, but 39 it can also be sourced from the `HEROKU_EMAIL` environment variable. 40