website: improve heroku docs
This commit is contained in:
parent
454db657be
commit
37f4e28a4f
|
@ -15,6 +15,10 @@ create and manage applications on Heroku.
|
||||||
# Create a new heroku app
|
# Create a new heroku app
|
||||||
resource "heroku_app" "default" {
|
resource "heroku_app" "default" {
|
||||||
name = "my-cool-app"
|
name = "my-cool-app"
|
||||||
|
|
||||||
|
config_vars {
|
||||||
|
FOOBAR = "baz"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,20 +26,29 @@ resource "heroku_app" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
* `name` - (Optional) The name of the Heroku app
|
* `name` - (Optional) The name of the application. In Heroku, this is also the
|
||||||
* `region` - (Optional) The region of the Heroku app
|
unique ID.
|
||||||
* `stack` - (Optional) The stack for the Heroku app
|
* `region` - (Optional) The region that the app should be deployed in.
|
||||||
* `config_vars` - (Optional) Configuration variables for the app
|
* `stack` - (Optional) The application stack is what platform to run the application
|
||||||
|
in.
|
||||||
|
* `config_vars` - (Optional) Configuration variables for the application.
|
||||||
|
This is a map that can set keys against the application.
|
||||||
|
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
|
||||||
* `id` - The ID of the app
|
* `id` - The ID of the app. This is also the name of the application.
|
||||||
* `name` - The name of the app
|
* `name` - The name of the application. In Heroku, this is also the
|
||||||
* `stack` - The stack of the app
|
unique ID.
|
||||||
* `region` - The region of the app
|
* `stack` - The application stack is what platform to run the application
|
||||||
* `git_url` - The Git URL for the app
|
in.
|
||||||
* `web_url` - The Web URL for the app
|
* `region` - The region that the app should be deployed in.
|
||||||
* `heroku_hostname` - The Heroku URL for the app
|
* `git_url` - The Git URL for the appplication. This is used for
|
||||||
|
deploying new versions of the app.
|
||||||
|
* `web_url` - The web (HTTP) URL that the application can be accessed
|
||||||
|
at by default.
|
||||||
|
* `heroku_hostname` - A hostname for the the Heroku application, suitable
|
||||||
|
for pointing DNS records.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue