github.com/ezbercih/terraform@v0.1.1-0.20140729011846-3c33865e0839/website/source/docs/providers/heroku/r/app.html.markdown (about) 1 --- 2 layout: "heroku" 3 page_title: "Heroku: heroku_app" 4 sidebar_current: "docs-heroku-resource-app" 5 --- 6 7 # heroku\_app 8 9 Provides a Heroku App resource. This can be used to 10 create and manage applications on Heroku. 11 12 ## Example Usage 13 14 ``` 15 # Create a new heroku app 16 resource "heroku_app" "default" { 17 name = "my-cool-app" 18 19 config_vars { 20 FOOBAR = "baz" 21 } 22 } 23 ``` 24 25 ## Argument Reference 26 27 The following arguments are supported: 28 29 * `name` - (Optional) The name of the application. In Heroku, this is also the 30 unique ID. 31 * `region` - (Optional) The region that the app should be deployed in. 32 * `stack` - (Optional) The application stack is what platform to run the application 33 in. 34 * `config_vars` - (Optional) Configuration variables for the application. 35 This is a map that can set keys against the application. 36 37 38 ## Attributes Reference 39 40 The following attributes are exported: 41 42 * `id` - The ID of the app. This is also the name of the application. 43 * `name` - The name of the application. In Heroku, this is also the 44 unique ID. 45 * `stack` - The application stack is what platform to run the application 46 in. 47 * `region` - The region that the app should be deployed in. 48 * `git_url` - The Git URL for the appplication. This is used for 49 deploying new versions of the app. 50 * `web_url` - The web (HTTP) URL that the application can be accessed 51 at by default. 52 * `heroku_hostname` - A hostname for the the Heroku application, suitable 53 for pointing DNS records. 54