@@ -15,27 +15,40 @@ create and manage applications on Heroku.
1515# Create a new heroku app
1616resource "heroku_app" "default" {
1717 name = "my-cool-app"
18+
19+ config_vars {
20+ FOOBAR = "baz"
21+ }
1822}
1923```
2024
2125## Argument Reference
2226
2327The following arguments are supported:
2428
25- * ` name ` - (Optional) The name of the Heroku app
26- * ` region ` - (Optional) The region of the Heroku app
27- * ` stack ` - (Optional) The stack for the Heroku app
28- * ` config_vars ` - (Optional) Configuration variables for the app
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+
2937
3038## Attributes Reference
3139
3240The following attributes are exported:
3341
34- * ` id ` - The ID of the app
35- * ` name ` - The name of the app
36- * ` stack ` - The stack of the app
37- * ` region ` - The region of the app
38- * ` git_url ` - The Git URL for the app
39- * ` web_url ` - The Web URL for the app
40- * ` heroku_hostname ` - The Heroku URL for the app
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.
4154
0 commit comments